Skip to main content
. 2024 Dec 26;25(1):72. doi: 10.3390/s25010072
Algorithm 3: Ferry nodes for global information collection and distribution.
Input: Predefined trajectory, UAV status (position and load), and control packets.
Output: Collected global information (position and load from all UAVs) and distributed global information to neighbouring UAVs.
# Initialize ferry nodes and begin traversal
1: for each ferry node do:
# Traverse network along the predefined trajectory
2:  while ferry node is operational:
3:     Move ferry node along trajectory
# Collect information from UAVs within communication range
4: for each UAV j within ferry nodes communication range do:
# Request global information from UAV j
5:   Send control packet (global_info)
# UAV j responds with its status information
6:   Receive info (Position j and load j) from UAV j
# Aggregate received information
7:   Store global info (Position j, load j)
# Distribute collected global information to nearby UAVs
8:          for each UAV neighbor within communication range do:
9:            Send global info (UAV neighbor and global info)
# Perform levy flight exploration to cover the network area
10:             Execute levy flight (ferry node)
11:        end for
12:     end for
13:   end while
14: end for