Mobility Models

View: New views
3 Messages — Rating Filter:   Alert me  

Mobility Models

by salouhouni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello everybody.I am a new user in NS2 and I will try to implement some mobility models in NS2 and experiment.As I have searched around I think that it is quite difficult in a short period to implement one on my own so I will try to test some already built ones.Cause I am a new user I would like to ask how difficult it will be to get familiar with NS2 in order to use some mobility models?Is it easy to use the existing ones and experiment on them?How complicated is the code of such models and how easy it is to test on different senarios?Thanks for the post and I hope that I will be able to help somebody else when I get used to the program.Please If anybody know I would be grateful to help me even if the questions look sily.Thanks again!

Re: Mobility Models

by Hai T. Vu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

To get start with mobility models you can start with this file (assume ns is
the directory of your ns2): ns/indep-utils/cmu-scen-gen/setdest.cc. This is
an independent tool, not really related to ns2, but it is an aid for running
simulation on wireless networks. This code in fact generates a mobility
scenerio using Random Waypoint mobility model. You can provide a number of
nodes, speed, pause time, duration of the simulation... After this, you will
have a scenario file ready to run with your ns2 simulation.  Some quick
examples you might want to have a look are at this folder: ns/tcl/ex/

The code for generating a mobility model is indeed not very complicated as
you might have a look at setdest.cc. From this, you can modify as much as
you want to have your own mobility model, for example Random Walk, Random
Smooth (for independent mobility) or other group mobility.

Hope this might help.

Hai.

On 6/29/07, salouhouni <salouhouni@...> wrote:

>
>
>
> Hello everybody.I am a new user in NS2 and I will try to implement some
> mobility models in NS2 and implement.As I have searched around I think
> that
> it is quite difficult in a short period to implement one on my own so I
> will
> try to test some already built ones.Cause I am a new user I would like to
> ask how difficult it will be to get familiar with NS2 in order to use some
> mobility models?Is it easy to use the existing ones and experiment on
> them?How complicated is the code of such models and how easy it is to test
> on different senarios?Thanks for the post and I hope that I will be able
> to
> help somebody else when I get used to the program.Please If anybody know I
> would be grateful to help me even if the questions look sily.Thanksagain!:)
> --
> View this message in context:
> http://www.nabble.com/Mobility-Models-tf4001829.html#a11366754
> Sent from the ns-users mailing list archive at Nabble.com.
>
>

Re: Mobility Models

by Teerawat Issariyakul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



In my opinion, a beginner usually takes only few days to learn to use NS2
at TCL level. However, it will talk few months (or sometiem years) to
learn the structure of NS2 and how to modify it.



On 6/29/2007, "salouhouni" <salouhouni@...> wrote:

>
>
>Hello everybody.I am a new user in NS2 and I will try to implement some
>mobility models in NS2 and implement.As I have searched around I think that
>it is quite difficult in a short period to implement one on my own so I will
>try to test some already built ones.Cause I am a new user I would like to
>ask how difficult it will be to get familiar with NS2 in order to use some
>mobility models?Is it easy to use the existing ones and experiment on
>them?How complicated is the code of such models and how easy it is to test
>on different senarios?Thanks for the post and I hope that I will be able to
>help somebody else when I get used to the program.Please If anybody know I
>would be grateful to help me even if the questions look sily.Thanks again!:)
>--
>View this message in context: http://www.nabble.com/Mobility-Models-tf4001829.html#a11366754
>Sent from the ns-users mailing list archive at Nabble.com.
>