12.07.2015 Views

Wireless Ad Hoc and Sensor Networks

Wireless Ad Hoc and Sensor Networks

Wireless Ad Hoc and Sensor Networks

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Optimized Energy <strong>and</strong> Delay-Based Routing 369StartClear all the entries in RT(s)Is there a node in N(s) forwhich routing table entryis not created?YCompute the fields for therouting table entry from the‘neighbor table’ <strong>and</strong> enterin the RT(s)Ni = 0i++; New_Entry = NOYIs there a topology table entrywhose last-hop = destinationaddress of a route entry with(distance = i)?YNNew_Entry= YESNEndDoes a route alreadyexists for this destinationYCompute the new cost for the routeCompute the fields for the routing tableentry from the ‘neighbor table’ <strong>and</strong>enter in the RT(s); New_Entry = YESNIs the new costless than theold cost?Erase the old entry from RT(s)YNFIGURE 8.4Flowchart for the routing table calculation algorithm.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!