[ns] Help with mobilenode operation and functions

roneel z roneelz at hotmail.com
Sat Nov 27 22:15:30 PST 2004


I am trying to work with mobilenodes, but I am having hard times trying to 
comprehend the files that are used when we create mobilenode. Can anybody 
guide me through it? Basically I want to know how a mobilenode is created 
(not the node-config part), what are the functions that get called when we 
work with mobilenode and where are those functions located?

And yes, I have been through the ns manual. Specifically my questions are:

1. When we create a mobilenode, what is the process that is followed, and 
which files are involved in this? I assume Gridkeeper and PositionHandler 
classes are used, but I want to know when and how are they used?

2. Which functions (which files) handle the movement that are generated once 
we start simulations?

3. In the examples, I have not seen anyone declaring specifically a 
mobilenode instance, then how does a node becomes mobilenode? I understand 
the node - config part, but my question is how does it tells the simulator 
that this node is a mobile node?

Any suggestions with explanations and pointer to the explanations will be 
appreciated.

Thanks.

Roneel.




More information about the Ns-users mailing list