root/applications/doprava/Zlicin.cfg
@
842
Revision 842, 1.0 kB (checked in by smidl, 14 years ago) |
---|
Rev | Line | |
---|---|---|
[820] | 1 | agents = ( |
2 | { // agent 1 | |
[819] | 3 | class = "BaseTrafficAgent"; |
[820] | 4 | name = "495"; |
5 | sg = ( | |
6 | { name = "VA"; | |
7 | detectors = ( | |
8 | { name = "DVA1"; distance = 10;}, | |
9 | {name = "DVA"; distance = 20; } | |
10 | ); | |
11 | }, | |
12 | { name = "VB"; | |
13 | detectors = (); | |
14 | input = {}; | |
15 | output = {}; | |
16 | }); | |
17 | input = ( // remote detectors | |
[816] | 18 | { |
[842] | 19 | name = "601_DVAa"; |
[819] | 20 | distance = 100; |
[836] | 21 | to_sg = ("VC","VD"); |
[816] | 22 | }, |
23 | { | |
[840] | 24 | name = "601_DVA"; |
[819] | 25 | distance = 100; |
[836] | 26 | to_sg = ("VC","VD"); |
[816] | 27 | } |
[820] | 28 | ); |
29 | output = ( // | |
[816] | 30 | { |
[842] | 31 | detectors = ("495_DVC"); |
[816] | 32 | to = "601"; |
33 | } | |
[820] | 34 | ); |
[816] | 35 | |
36 | offset = 40; //s | |
[836] | 37 | moje_special=14; |
[816] | 38 | }, |
[820] | 39 | { //agent 2 |
[819] | 40 | class = "BaseTrafficAgent"; |
[816] | 41 | name = "601"; |
[820] | 42 | sg = ( |
[816] | 43 | { name = "VA"; |
[820] | 44 | detectors = ( |
[840] | 45 | { name = "DVA"; distance = 10; }, |
46 | {name = "DVAa"; distance = 20; } | |
[820] | 47 | ); |
[816] | 48 | }, |
49 | { name = "VB"; | |
[820] | 50 | detectors = (); |
[816] | 51 | } |
[820] | 52 | ); |
[816] | 53 | |
54 | offset = 60; //s | |
[820] | 55 | input = (); |
[842] | 56 | output = ({to="495"; detectors=("601_DVAa","601_DVA");}); |
[816] | 57 | } |
[842] | 58 | ); |
59 | logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;}; |
Note: See TracBrowser
for help on using the browser.