Research Article

Improving Packet Delivery Performance in Water Column Variations through LOCAN in Underwater Acoustic Sensor Network

Algorithm 2

LOCAN pseudocode for UWASN variation.
Initialize the network:
For
For
=random position between given network area based on the parameter of water column
End for
Calculate fitness value based on node distance which varies according to Doppler effect and wave front
       
End for
FN = Best(MNi)
OFN = Best(MFN)
Current Node = Source
While Current node ≠ Destination
  
  
Generate the Distance matrix
Select next node in the route for optimum channel selection.
  
  
Update and
Update Currentnode
End While
Exit