Research Article
A DiffServ Architecture for QoS-Aware Routing for Delay-Sensitive and Best-Effort Services in IEEE 802.16 Mesh Networks
Algorithm 2
Computation of routing path.
(1) for i← 1 to do | (2) for j← 1 to do | (3) if delay > 0 then | (4) path ←i | (5) else | (6) path ← 0 | (7) end if | (8) end for | (9) end for | (10) for k← 1 to do | (11) for i← 1 to do | (12) for j← 1 to do | (13) if delay > delay + delay | then | (14) distance ← distance + | distance | (15) delay ← delay + | delay | (16) path ← path | (17) end if | (18) end for | (19) end for | (20) end for |
|