📄 readme
字号:
/******************************************************************************* Copyright (C) 2004 Toilers Research Group -- Colorado School of Mines** Please see COPYRIGHT.TXT and LICENSE.TXT for copyright and license* details.*******************************************************************************/Included are the implementations of six entity mobility models and three groupmobility models. Two other group mobility models are possible by passingthe correct parameters to the reference point group mobility model (morelater).Based on results of the paper: T. Camp, J. Boleng, and V. Davies, A Survey of Mobility Models for Ad Hoc Network Research, Wireless Communication & Mobile Computing (WCMC): Special issue on Mobile Ad Hoc Networking: Research, Trends and Applications, vol. 2, no. 5, pp. 483-502, 2002 ===========================We are happy to share our code with you. We only ask that any publishedresearch from using our code include a reference to the preceding paper.If you have any questions on the code, send email toTracy Camp <tcamp@mines.edu>.The research group's URL is: http://toilers.mines.edu===========================All the mobility models except two will output in either ns-2 mobility fileformat and/or gnuplot format. The boundless simulation area and Gauss-Markovmobility models will only output a gnuplot file.Entity mobility models: - random walk - random waypoint - random direction - boundless simulation area - gauss-markov - probabilistic random walkThere are two versions of the boundless simulation area mobility model.torus.c is the random waypoint model placed on a boundless torus.torus2.c is an implementation of the boundless simulation area as describedby Haas et al.Group mobility models: - Reference Point Group Mobility Model (RPGM) - column mobility model (nodes move parallel to direction of travel) - column mobility model (nodes move perpendicular to direction of travel)There is very little difference in the above codes. The two column modelssimple have one line different. Both the column models are derived from the RPGM code and are a little cleaner. Although they all work and seem to meto be correct.The nomadic and pursue group mobility models can be accomplished by using RPGMand choosing the parameters ref. pt. separation and node separation from ref.pt. appropriately.Finally, the NS-2 mobility file output works fine. If you want gnuplot plotsfiles, you'll need to run the program with only one group (multiple nodes arepossible however). The output then needs to me sorted by node number, andhand edited a little bit to break up each nodes movement into a different line.===========================Code originally written by Vanessa Davies (M.S. 2001 from the ColoradoSchool of Mines). Code improved upon by Jeff Boleng (Ph.D. 2002 fromthe Colorado School of Mines).Updated in Jan. 2004: - Nick Bauer (M.S. 2004 from the ColoradoSchool of Mines).Code is updated to fix the problem of two nodes hitting a wall in the random walk mobility file generator and the problem of no pause in the random direction mobility file generator. Thanks to Mikko S鋜el
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -