-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaodvugd2.conf
More file actions
80 lines (58 loc) · 2.59 KB
/
Copy pathaodvugd2.conf
File metadata and controls
80 lines (58 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
random_seed action=set seed=129864213
prepare_world edge_model=simple comm_model=disk_graph range=4 transm_model=stats_chain
#chain_transm_model name=random_drop_chain probability=0.1
chain_transm_model name=random_drop_chain probability=0.0
chain_transm_model name=reliable
rect_world width=20 height=20 count=30 processors=aodvugdhello,aodvPingApp,aodvugd
#Logger
logging_load_cfg log_cfg_file=/home/mauri/Shawn/bb/src/legacyapps/aodvugd/log_conf2.xml
#Aodv parametrs
Aodv_USE_HELLO=true
Aodv_USE_ERS=true
#Aodv_ACTIVE_ROUTE_TIMEOUT=3
#----------------------COMIENZO Visualizacion
vis=my_visualization
vis_create
vis_create_edges source_regex=.* target_regex=.*
vis_show_comradius range=2.5
vis_create_label
# Configuring node properties:
# Node colors (Yellow for all processors with ID v1.*, blue for ID v2.*, default for all others):
vis_constant_vec x=1 y=0 z=0 elem_regex=node.default.v0.* prop=background prio=1
vis_constant_vec x=0 y=1 z=0 elem_regex=node.default.v8.* prop=background prio=1
# Node size:
vis_constant_double value=0.2 elem_regex=node.default.* prop=size prio=1
vis_constant_double value=0.3 elem_regex=node.default.v0.* prop=size prio=1
vis_constant_double value=0.35 elem_regex=node.default.v8.* prop=size prio=1
# Node shape (quadrat):
vis_constant_int value=2 elem_regex=node.default.v0.* prop=shape prio=1
# Configure edge properties:
# Line width:
vis_constant_double value=0.07 elem_regex=edge.default.* prop=line_width prio=1
# Line color 1 (for all lines starting from processors with ID v1.*):
#vis_constant_vec x=0 y=0 z=0.8 elem_regex=edge.default.v1.* prop=color prio=1
# Line color 2 (for all lines starting from processors with ID v2.*):
#vis_constant_vec x=0 y=0.8 z=0 elem_regex=edge.default.v1.* prop=color prio=1
## Camera setup:
# Camera position (world coordinates):
vis_constant_vec x=0 y=0 z=0 elem_regex=cam prop=position prio=1
# Position shift:
vis_constant_vec x=-600 y=450 z=0 elem_regex=cam prop=position_shift prio=1
# Background color (white):
vis_constant_vec x=1 y=1 z=1 elem_regex=cam prop=background prio=1
# Resolution (width and height):
vis_constant_double value=1200 elem_regex=cam prop=width prio=1
vis_constant_double value=900 elem_regex=cam prop=height prio=1
# World scaling:
vis_constant_double value=40 elem_regex=cam prop=scale prio=1
vis_single_snapshot
#vis_create_liveview
#Enable an animation refreshing twice a simulation round with a minimum real time delay of 500ms:
#vis_create_liveview refresh_interval=0.5 refresh_delay=500
#----------------------FIN Visualizacion
simulation max_iterations=1660
#321
#801
#1441
connectivity
dump_transmission_stats