|
Revision 819, 0.9 kB
(checked in by smidl, 16 years ago)
|
|
agents for doprava
|
| Line | |
|---|
| 1 | agents = { |
|---|
| 2 | { // agent 1 |
|---|
| 3 | class = "BaseTrafficAgent"; |
|---|
| 4 | name = "495"; |
|---|
| 5 | sg = { |
|---|
| 6 | { name = "VA"; |
|---|
| 7 | detectors = { |
|---|
| 8 | { name = "DVA1"; |
|---|
| 9 | distance = 10; |
|---|
| 10 | }, {name = "DVA"; |
|---|
| 11 | distance = 20; |
|---|
| 12 | }; |
|---|
| 13 | }; |
|---|
| 14 | }, |
|---|
| 15 | { name = "VB"; |
|---|
| 16 | detectors = { }; |
|---|
| 17 | input = {}; |
|---|
| 18 | output = {}; |
|---|
| 19 | } |
|---|
| 20 | }; |
|---|
| 21 | input = { // remote detectors |
|---|
| 22 | { |
|---|
| 23 | name = "601DVA1"; |
|---|
| 24 | distance = 100; |
|---|
| 25 | to = {"VC","VD"}; |
|---|
| 26 | }, |
|---|
| 27 | { |
|---|
| 28 | name = "601DVA"; |
|---|
| 29 | distance = 100; |
|---|
| 30 | to = {"VC","VD"}; |
|---|
| 31 | } |
|---|
| 32 | }; |
|---|
| 33 | output = { // |
|---|
| 34 | { |
|---|
| 35 | from = "VC"; |
|---|
| 36 | detector ="495DVC"; |
|---|
| 37 | to = "601"; |
|---|
| 38 | } |
|---|
| 39 | }; |
|---|
| 40 | |
|---|
| 41 | offset = 40; //s |
|---|
| 42 | }, |
|---|
| 43 | { // agent 2 |
|---|
| 44 | class = "BaseTrafficAgent"; |
|---|
| 45 | name = "601"; |
|---|
| 46 | sg = { |
|---|
| 47 | { name = "VA"; |
|---|
| 48 | detectors = { |
|---|
| 49 | { name = "DVA1"; |
|---|
| 50 | distance = 10; |
|---|
| 51 | }, {name = "DVA"; |
|---|
| 52 | distance = 20; |
|---|
| 53 | }; |
|---|
| 54 | }; |
|---|
| 55 | }, |
|---|
| 56 | { name = "VB"; |
|---|
| 57 | detectors = { }; |
|---|
| 58 | } |
|---|
| 59 | }; |
|---|
| 60 | |
|---|
| 61 | offset = 60; //s |
|---|
| 62 | |
|---|
| 63 | } |
|---|
| 64 | }; |
|---|