| 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 n node, do if parity flag (s) = 1 then B.add (node (s) n (x), n(y)) A (AdjNi) = //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 = //using Equation (2) PACK = A (AdjNi) ∗ SNNs Else Modify PACK (N) = //using Equation (3) if Receive B end if End For End IF End Procedure |