⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manhattan.anm

📁 无线传感器网络节点定位仿真
💻 ANM
字号:
#*
#**************************************************************************
#<BEGIN HEADER>
#
#$MODULE IDENTIFICATION: Config.anm $
#
#<BEGIN REVISION>
#
#  $Copyright: International University Horst Hellbr點k $
#  $Device: ANSim $
#  $Header: /data/archiv/ansim/cfgfiles/Manhattan.anm,v 1.2 2003/03/06 11:41:34 hellbrht Exp $
#  $Source: /data/archiv/ansim/cfgfiles/Manhattan.anm,v $
#  $Revision: 1.2 $
#  $Author: hellbrht $
#  $Date: 2003/03/06 11:41:34 $
#  $State: Exp $
#  $Log: Manhattan.anm,v $#  Revision 1.2  2003/03/06 11:41:34  hellbrht#  xml logging enabled##  Revision 1.1  2003/03/06 09:37:10  hellbrht#  initial revision#
#
#<END REVISION>
#<END HEADER>
#**************************************************************************
#*/

#mode can be "static" or "mobile"
mode=mobile
#The field is defined as a polygon
field=[(-310,-210)];(0,0);(0,420);(620,420);(620,0);
# obstacles are not allowed to overlap and must be located completely inside the field
obstacle1=[(-300,-200)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle2=[(-150,-200)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);

obstacle3=[(10,-200)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle4=[(160,-200)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);


obstacle5=[(-300,-100)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle6=[(-150,-100)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);

obstacle7=[(10,-100)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle8=[(160,-100)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);


obstacle9=[(-300,10)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle10=[(-150,10)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);

obstacle11=[(10,10)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle12=[(160,10)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);


obstacle13=[(-300,110)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle14=[(-150,110)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);

obstacle15=[(10,110)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);
obstacle16=[(160,110)];(4,0);(136,0);(140,4);(140,86);(136,90);(4,90);(0,86);(0,4);

obstacle17={0.0}[(-7.5,-195)];(0,0);(15,0);(15,80);(0,80);
obstacle18={0.0}[(-7.5,-95)];(0,0);(15,0);(15,80);(0,80);
obstacle19={0.0}[(-7.5,15)];(0,0);(15,0);(15,80);(0,80);
obstacle20={0.0}[(-7.5,115)];(0,0);(15,0);(15,80);(0,80);

obstacle21={0.0}[(-295,-5)];(0,0);(130,0);(130,10);(0,10);
obstacle22={0.0}[(-145,-5)];(0,0);(130,0);(130,10);(0,10);

obstacle23={0.0}[(15,-5)];(0,0);(130,0);(130,10);(0,10);
obstacle24={0.0}[(165,-5)];(0,0);(130,0);(130,10);(0,10);

# the range of the nodes in m
range=150
# the number of nodes in the simulation
numberOfNodes=50

#logging just XML or none
logging=XML

# the mobility model 
# rw = "Random Waypoint"
# rwg = "Random Waypoint gaussian distribution"
# rwi = "Random Waypoint Indirect move"
# rd = "Random Direction"
# gm = "Gauss Markov"
model=rw
# the velocity of the nodes in m/s as interval [2.1:5.0] or single value [5.0]
velocity = [1.0:1.50]
# the moving time for the moves in Randomdirection mobility models in s as interval [300:600] or single value [5.0]
movetime = [10.0:10.0]
# the moving time for the moves in Randomdirection mobility models in s as interval [300:600] or single value [5.0]
stoptime = [0.0:0.0]

# number of scenarios to be investigated just for the static mode -1 for infinity
simtime=-1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -