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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Optimized Energy <strong>and</strong> Delay-Based Routing 393StartIs CH in directrange to the BS?YRoute to BSNStart = CH nodesCompute Link-Cost for all nodes outside thesub-network <strong>and</strong> in range to all Start nodesLink-Cost = Energy Remaining/(Delay ∗ Distance)Max = 0i = 0i++IsLink-Cost > Maxnode (i)?YMax = Link-costRelay node = Current nodeNNIsi > Number ofnodes in range withStart node?Isi > Number ofnodes in range withStart node?NYYIs Relay node inrange to BS?NStart = Relay nodeRoute Relay node to BSEndFIGURE 8.23Flowchart for the OEDSR protocol.

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

Saved successfully!

Ooh no, something went wrong!