📄 c.in
字号:
###############################################################################
# Configuration file for simulation, developpled by Tian He,improved by lan li
#
#
###############################################################################
SIMULATION-TIME 300S
#
# The following is a random number seed used to initialize part of the seed of
# various randomly generated numbers in the simulation. This can be used to vary
# the seed of the simulation to see the consistency of the results of the
# simulation.
#
SEED 30
# Used to generate different data files with different CONFIGURATION_ID
CONFIGURATION-ID 1
#
# The following two parameters stand for the physical terrain in which the nodes
# are being simulated. For example, the following represents an area of size 100
# meters by 100 meters. All range parameters are in terms of meters.
#
# Terrain Area we are simulating.
#
TERRIAN_Y 300
TERRIAN_X 300
#
# The following parameter represents the number of nodes being simulated.
#
NUMBER-OF-NODES 2500
MAXNEIGHBOR 200
BANDWIDTH 250000
#
#
#The following parameter represents the node placement strategy.
#- RANDOM: Nodes are placed randomly within the physical terrain.
#- UNIFORM: Based on the number of nodes in the simulation, the physical
# terrain is divided into a number of cells. Within each cell, a node is
# placed randomly.
#- GRID: Node placement starts at (0, 0) and are placed in grid format with
# each node GRID-UNIT away from its neighbors. The number of nodes has to be
# square of an integer.
#- FILE: Position of nodes is read from NODE-PLACEMENT-FILE. On each line of
# the file, the x and y position of a single node is separated by a space.
#
NODE_PLACEMENT_MODE UNIFORM
#NODE_PLACEMENT_MODE GRID
#GRID-UNIT 20
#NODE-PLACEMENT_MODE RANDOM
#ROUTING-PROTOCOL GFX GF GF DYND MH MH_A
ROUTING-PROTOCOL MH_A
#LINK_MODEL PERFECT REAL_INDEPENDENT REAL_DEPENDENT
LINK_MODEL REAL_INDEPENDENT
LINK_COST_MODEL ETX
TRAFFIC_PATTERN ONE2ONE
#ALL2ONE, MANY2ONE, MANY2MANY, ONE2MANY, ONE2ONE
DATA_SIZE 30
CTR_SIZE 3
PM_ENABLED FALSE
#in msecond
PM_PERIOD 100
WAKEUP_DURATION 20
SENDER_TIMEOUT 3
GUI_PRINTF TRUE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -