Research Article
QPRD: QoS-Aware Peering Routing Protocol for Delay-Sensitive Data in Hospital Body Area Network
Algorithm 1
Routing table construction algorithm for delay-sensitive packets.
| INPUT: Neighbor table, ’s neighbor table records , Dst | | (1) for each destination Dst do | | (2) NH = | | (3) if () then | | (4) | | (5) else if () then | | (6) Sort NH in ascending order of | | (7) = first neighbor node ; | | (8) end if | | (9) end for |
|