Hi everybody I want to change the aodv code that each node send packet direct to destination without any middle node if the difference between the power that consumes for direct send and the power that consumes for sends packet to next node in the aodv protocol is less than the constant value, else follow the aodv
best regards Heidari