Hello, Can anyone tell me how to recover (obtain) the energy of a node in a c++ file (I'm modifing aodv.cc)? I want also to program the followinf instruction: if the node is Leader then do not decremente its energy. Knowing that energy decrease automatically with each emission or reception of a message in EnergyModel, how I must modify it? Thank you very much.
Thank yaou very much in advance.. Regards. _________________________________________________________________ Avec Windows Live OneCare éliminez tous les virus de votre PC ! http://www.windowslive.fr/liveonecare/default.asp