Skip to main content
. 2023 Dec 29;24(1):208. doi: 10.3390/s24010208
Algorithm 2. Greedy Selection Algorithm
Input: input CL=CL1,CL2,,CLl,θ, U, V, BS
Output: the set of selected participants, UAVs and buoys Χ*
  1: for CLl in CL do
  2:  for ui,vn,bSn in CLl do
  3:    Calculate all f scores
  4:    Sort by descending order
  5:    select the max f scores of combination x*
  6:   end for
  7: end for
  8:  Χ*=Χ*x*
  9: Return Χ*