Hi,
I am a newbie to ns-2.
I am writing a ad-hoc protocol for ns-2. I am modifying the contents of
AODV.
The protocol decides the route to take based on a formula
involving collisions around the nodes in the route.
I know how to find the collisions that have occured by looking at the trace
files at the end of the simulation.
But, how do I find out in real-time during simulation, the number of
collisions around a given node from the protocols.
Should I write my own C++ code to calculate this from the trace during
simulation or is there any other way out.
I need that to do routing decisions during simulation.
Thanks in advance for helping me.

With Regards,
Siddhartha Sankaran M

Reply via email to