root/applications/doprava/Zlicin.cfg @ 875

Revision 842, 1.0 kB (checked in by smidl, 14 years ago)

doprava is now working

Line 
1agents = (
2        { // agent 1
3        class = "BaseTrafficAgent";
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
18    {
19      name = "601_DVAa";
20                distance = 100;
21      to_sg = ("VC","VD");
22    },
23    {
24      name = "601_DVA";
25                distance = 100;
26      to_sg = ("VC","VD");
27    }
28  );
29  output = ( //
30     {
31                detectors = ("495_DVC");
32      to = "601";
33      }
34  );
35
36  offset = 40; //s
37  moje_special=14;
38},
39{ //agent 2
40        class = "BaseTrafficAgent";
41  name = "601";
42  sg = (
43    { name = "VA";
44      detectors = (
45                { name = "DVA"; distance = 10; },
46                 {name = "DVAa"; distance = 20; }
47      );
48    },
49    { name = "VB";
50      detectors = ();
51    }
52  );
53 
54  offset = 60; //s
55        input = ();
56        output = ({to="495"; detectors=("601_DVAa","601_DVA");});
57}
58);
59logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;};
Note: See TracBrowser for help on using the browser.