Skip to main content
. 2022 Mar 2;22(5):1947. doi: 10.3390/s22051947
Algorithm 1 Information completion algorithm
  • 1:

    Input: HB of UAV Ci

  • 2:

    HB of other UAVCj, j=1,2,3.....N; ji

  • 3:

    forj1 to total UAVs do

  • 4:

          if Cijnull then

  • 5:

                 tem = 0

  • 6:

                 for h1 to total UAVs do

  • 7:

                       if GPS T of HB[h*total_UAV_Num

  • 8:

                         +j]tmp then

  • 9:

                              store HB[h*total_UAV_Num + j]

  • 10:

                        information

  • 11:

                            tem = GPS T of HB[h*total_UAV_Num

  • 12:

                         + j]

  • 13:

                     end if

  • 14:

               end for

  • 15:

          end if

  • 16:

    end for