Академический Документы
Профессиональный Документы
Культура Документы
sourceNode
sends DATA to
destinationNode
AODV
generates
RREQ’s to
find the
destination
TRUE FALSE
Get the power consumed (Pi) for
each route using:
Get the summation of
battery power of each
node for each route, and
store them in array B
and store them in array A
AODV
Protocol
generates
RREP’s
If RREP
FALSE reaches
destination
TRUE
CHECK
AGAIN
TRUE
Send DataPackets
to nextHop node
currentNode = nextHop
currentNode
FALSE stores a copy of
DataPackets
until time t
If nextHop is NOT
destination
TRUE sourceNode = currentNode
&&
nextHop IS MISSING
FALSE
sourceNode = currentNode
FALSE
AODV
Protocol
generates
RERR
Terminate