Skip to main content
. 2021 Sep 6;21(17):5968. doi: 10.3390/s21175968
Algorithm 1: The ROBINA.
  B: Beacon message having next node
  Dn: Set of Dead Nodes
  S: Sonobuoys
  Sn: Set of Nodes
  Parity Flag Values: 0 and 1 (Used to Check Void Nodes)
  X. Y. Z: Coordinates of nodes
  Adj Ni: Adjacent Nodes
  Procedure FORWARD BEACON (Sonobuoys (Sn), Node)
  If B expires, then//Using B in Underwater is like ‘Hello Packet’ having the address of the next node
  B. correspondent Node location (Nl)//correspondent having all possible coordinates of Nodes
  if node  Dn then//check for dead nodes
            for S Sn node, do
  if parity flag (s) = 1 then
               B.add (node (s) n (x), n(y))
  A (AdjNi) = E (Ni)( SNNrangeN)+1//adjacency nodes are decided using Equation (1).
  Flag (p) 0//Receive Partiy Value
  end if
  end for
  end if
  Forward B
  End if
  End Procedure
  Procedure RECEIVE BEACON (Node, B)
  If B  Sn
            Modify B. correspondent then
            For Selop = NsDnSn//using Equation (2)
  PACK = A (AdjNi) ∗ SNNs
  Else
  Modify PACK (N) = j=0d=1 SNNs (Dn)Sn//using Equation (3)
  if flag pj=0 0
               Receive B
  end if
  End For
  End IF
  End Procedure