Research Article

A Hop Count Based Heuristic Routing Protocol for Mobile Delay Tolerant Networks

Algorithm 2

Heuristic value calculation.
Require:  Matrix of node
Ensure:  
  local  variables:  
(1)  for     do
(2)  
(3)  
(4)  
(5)  
(6)  
(7)    repeat
(8)  
(9)    
(10)  
(11)  until  
(12) 
(13) end  for
(14) return