Skip to main content

Table 3 Routing establishment of IEBR

From: Improved energy-balanced algorithm for underwater wireless sensor network based on depth threshold and energy level partition

  Routing establishment: Relay selection based on depth
1: Query packet = Qp
2: Depth threshold = hth
3: Depth of Node i=hi
4: Depth difference between node i and j=hdiff(i, j)
5: RNT:Relay Node Table
6: When neighbor j receiving Qp
7: if hi<hj then
8: if hdiff>hth then
9: Algorithm 1
10: if Nj=min(Nj) then
11: Add node ID in RNT
12: else
13: drop Qp
14: end if
15: end if
16: end if