Random Way Point Model

61 views
Skip to first unread message

qusaym...@gmail.com

unread,
Jan 18, 2018, 8:54:51 AM1/18/18
to Network Simulator 2 (NS2)
Hello everyone,

I am searching about NS2 code for random way point model....I hope if there is any one can provide the code....or any advice.

My Best Regards.

knudfl

unread,
Jan 18, 2018, 12:52:31 PM1/18/18
to Network Simulator 2 (NS2)
`bonnmotion-3.0.1´ :  http://sys.cs.uos.de/bonnmotion/
"A mobility scenario generation and analysis tool".

Available models:
+ DisasterArea v1.0 Application to create extended catastrophe scenarios according to the Disaster Area model
+ GaussMarkov v1.0 Application to construct GaussMarkov mobility scenarios
+ ManhattanGrid v1.0 Application to construct ManhattanGrid mobility scenarios
+ OriginalGaussMarkov v1.0 Application to construct mobility scenarios according to the original Gauss-Markov model
+ ProbRandomWalk v1.0 Application to construct Probabilistic Random Walk mobility scenarios
+ RandomDirection v1.0 Application to construct Random Direction mobility scenarios
+ RandomStreet v1.0 Application to construct RandomStreet mobility scenarios
+ RandomWalk v1.0 Application to construct RandomWalk mobility scenarios
+ RandomWaypoint v1.0 Application to construct RandomWaypoint mobility scenarios
+ RandomWaypoint3D v1.0 Application to construct RandomWaypoint (3D) mobility scenarios
Snippet from https://www.researchgate.net/post/Can_anybody_tell_me_how_to_use_a_BonnMotion_created_mobility_model_in_ONE

knudfl

unread,
Jan 18, 2018, 1:20:39 PM1/18/18
to Network Simulator 2 (NS2)
Example,  'random-waypoint.movements'  generated with bonnmotion. The example is attached.




On Thursday, January 18, 2018 at 2:54:51 PM UTC+1, qusaym...@gmail.com wrote:
random-waypoint.movements.txt

qusaym...@gmail.com

unread,
Jan 18, 2018, 1:56:23 PM1/18/18
to Network Simulator 2 (NS2)

Thanks Sir "knudfl" ...For you answer.....You alwayls help us.

Hameurlaine Hicham

unread,
Sep 10, 2023, 4:47:09 AM9/10/23
to Network Simulator 2 (NS2)
@knudfl please, can you provide a command line to create    gauss markov mobility model using bonnmotion

knudfl

unread,
Sep 10, 2023, 7:03:54 AM9/10/23
to Network Simulator 2 (NS2)
hichamham..

https://groups.google.com/g/ns-users/c/2Y-_rWCm92o    >>> hichamham..  9:43 AM -- Aug22, 2023
Miscellaneous gauss markov
http://www.computerscijournal.org/dnload/SAAD-ALJEBORI--and-ALAA-TAIMA-/OJCSV06I01P31-40.pdf
Ref. https://scholar.google.dk/scholar?q=ns2+gauss+markov+model&hl=en&as_sdt=0&as_vis=1&oi=scholart

See https://sys.cs.uos.de/bonnmotion/doc/README.pdf → →
→ the options -a -s, -m -h, -b -u : are described in section 6.5.2

A random / guessed command ....
$ ./bm -f gauss GaussMarkov -n 50 -d 60 -x 750 -y 750 -a 30 -s 20 -m 3 -h 4 -b 1 -u 2
...... and convert to ns2 ............
$ ./bm NSFile -f gaussbm NSFile -f gauss

knudfl

unread,
Sep 10, 2023, 7:10:43 AM9/10/23
to Network Simulator 2 (NS2)
hichamham..

$ ./bm -hm GaussMarkov
BonnMotion 3.0.1
.
== GaussMarkov =======================================================
Version:      v1.0
Description:  Application to construct GaussMarkov mobility scenarios
Affiliation:  University of Bonn - Institute of Computer Science 4 (http://net.cs.uni-bonn.de/)
Authors:      University of Bonn
Contacts:     bonnm...@lists.iai.uni-bonn.de

App:
       -D print stack trace
Scenario:
       -a <attractor parameters (if applicable for model)>
       -c [use circular shape (if applicable for model)]
       -d <scenario duration>
       -i <number of seconds to skip>
       -n <number of nodes>
       -x <width of simulation area>
       -y <height of simulation area>
       -z <depth of simulation area>
       -R <random seed>
       -J <2D, 3D> Dimension of movement output
GaussMarkov:
       -a <angle standard deviation>
       -h <max. speed>
       -q <speed, angle update frequency>
       -s <speed standard deviation>
       -b bounce nodes at area boundaries
       -m <min. speed (default = 0)>
       -g gauss distribution of initial node speeds
           centered around (minspeed + maxspeed)/2
       -u force uniform speed distribution

Hameurlaine Hicham

unread,
Sep 10, 2023, 9:00:58 AM9/10/23
to Network Simulator 2 (NS2)
knudfl thanks
Reply all
Reply to author
Forward
0 new messages