Skip to main content
. 2017 Apr 9;17(4):808. doi: 10.3390/s17040808
Algorithm 4: MoveAWP algorithm. Cv is the transition cost from the AWP algorithm (see Algorithm 1). Then, function FindBiggestCv(P[i],P[i+1]) finds the largest transition cost value triangular cell of UAV P[i] that is adjacent to UAV P[i+1] in the sequence. Then, function Awp takes as variables an initial cell v, the area size that needs to be exchanged and the UAV identifier that needs to be exchanged from. The growing function is similar to Algorithm 1.
Pij the transition sequence between Ui and Uj for triangular cells exchange, treated as a list
vinit: initial triangular cell for identifier exchange
S: area size to be moved
Inline graphic