?? sample.anm
字號:
#*
#**************************************************************************
#<BEGIN HEADER>
#
#$MODULE IDENTIFICATION: Config.anm $
#
#<BEGIN REVISION>
#
# $Copyright: International University Horst Hellbr點k $
# $Device: ANSim $
# $Header: /data/archiv/ansim/cfgfiles/Sample.anm,v 1.2 2003/03/06 12:01:42 hellbrht Exp $
# $Source: /data/archiv/ansim/cfgfiles/Sample.anm,v $
# $Revision: 1.2 $
# $Author: hellbrht $
# $Date: 2003/03/06 12:01:42 $
# $State: Exp $
# $Log: Sample.anm,v $# Revision 1.2 2003/03/06 12:01:42 hellbrht# logging enabled## Revision 1.1 2003/03/06 09:37:10 hellbrht# initial revision#
#
#<END REVISION>
#<END HEADER>
#**************************************************************************
#*/
#
# general options for all modes
#
#The field where nodes are placed is defined as a polygon offset can be set in []
#The polygons are always treated as closed
field=[(0,0)];(-1500,-500);(-1500,500);(300,500);(300,-200);(-50,-200);(-50,200);(-250,200);(-250,-00);(-300,-200);(-300,-500);
# obstacles are also polygons
# and not allowed to overlap and must be located completely inside the field
obstacle1=[(0,0)];(-1400,-400);(-1400,400);(-1200,400);(-1200,-400);
obstacle2=(-1100,-400);(-1100,-50);(-900,-50);(-900,-400);
obstacle3=(-1100,400);(-1100,50);(-900,50);(-900,400);
obstacle4=(-800,400);(-800,50);(-500,400);
obstacle5=(-800,-400);(-800,-50);(-400,400);(-300,400);(-300,50);(-500,50);
# the range of the nodes in m
range=250
# the number of nodes in the simulation nodes are numbered from 0 to N-1 (N_0, N_1 ...)
numberOfNodes=50
# place fixed nodes
N_0=(0.0,0.0)
#mode can be "static" or "mobile" see mobile options below
mode=mobile
#
# The static options
#
# the disttribution of the nodes can be uniform, gaussian, elliptic
distribution=uniform
# number of scenarios to be investigated just for the static mode -1 for infinity
scenes=-1
#
# The mobile options
#
# the mobility model
# rw = "Random Waypoint"
# rwg = "Random Waypoint gaussian distribution" center is 0 variance is xmax or ymax
# make sure that your scenario is symmetric
# 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 Random Direction mobility models in s as interval [300:600] or single value [5.0]
movetime = [10.0:10.0]
# the stop time after the moving period in s as interval [300:600] or single value [5.0]
stoptime = [0.0:0.0]
# the angle variation for the gauss markov mobility
# uniformly distributed between [gaussmarkovangle:gaussmarkovangle]
gaussmarkovangle=5.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 + -