Skip to main content
. 2023 Sep 20;23(18):7980. doi: 10.3390/s23187980
Algorithm 2 Bidding Strategy with Bidding Benchmark
Input: Tx, WTLun, Plan, Um, CU
Output: updated Plan, WTLun
1 If Pm does not meet the constraints in Section 2.2.5
2   Um  removes the targets with time window from Pm  into WTLun
3 End if
4 Um get BPm, mdcm of inserting Tx into Pm by single-target insertion method
5 Um sends Tx, mdcm, Plan to every UAV of CU
6 For Ui in CU do (Parallel)
7  If Pi does not meet the constraints in Section 2.2.5
8 Ui removes the targets with time window from Pi into WTi
9     End if
10   Ui get BPi, mdci of inserting Tx into Pi by single-target insertion method
11  If mdci<mdcm and mdci<104
12     Ui  sends BPi , mdci , WTi  to Um
13   Else
14     Ui sends WTi to Um and give up the bidding
15   End if
16 End for
17 Um puts the targets in all received WTi into WTLun
18 If all Ui in CU give up the bidding
19   If mdcm<104
20     Pm=BPm
21   Else
22         Tx failed to be assigned
23   End if
24 Else
25 Um compares all received mdc and finds the Ubest with the min mdc
26     Pbest=BPbest , Um  sends losingsignal to those Ui  participated in the bidding (except Ubest ) and sends winningsignal to Ubest
27      End if