Revision 941, 1.2 kB
(checked in by ondrak, 14 years ago)
|
greenwave agents sending and receiving some expectations
very basic expected_output counting in Lane_Handler
|
Rev | Line | |
---|
[921] | 1 | agents = ( |
---|
| 2 | { // agent 1 |
---|
| 3 | class = "GreenWaveTrafficAgent"; |
---|
[932] | 4 | name = "495"; |
---|
| 5 | lanes = ( |
---|
[927] | 6 | { sg="VA"; inputs = ("495_DVA1","495_DVB"); outputs= ("601_DVA"); alpha= [1.0 ]; queue="495_Q1";}, |
---|
| 7 | { sg="VB"; inputs = ("495_DVA1","495_DVB"); outputs= ("601_DVA"); alpha= [1.0 ]; queue="495_Q2";} |
---|
[932] | 8 | ); |
---|
| 9 | neighbours = ("601"); |
---|
| 10 | offset = 40; //s |
---|
[941] | 11 | sgs=("VA","VB","VC","VD","VE","VF"); |
---|
[932] | 12 | moje_special=14; |
---|
[921] | 13 | }, |
---|
| 14 | { //agent 2 |
---|
| 15 | class = "GreenWaveTrafficAgent"; |
---|
[932] | 16 | name = "601"; |
---|
| 17 | neighbours = ("495"); |
---|
[941] | 18 | sgs=("VA","VB","VC","VD","VE"); |
---|
[921] | 19 | } |
---|
[932] | 20 | |
---|
[921] | 21 | ); |
---|
| 22 | |
---|
| 23 | logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;}; |
---|
| 24 | |
---|
[932] | 25 | |
---|
| 26 | |
---|
| 27 | |
---|
[921] | 28 | system = { |
---|
| 29 | class = "AimsunDS"; |
---|
| 30 | // CSV file with input intensities for simulation |
---|
| 31 | // original .........: entrances = "zlicin_20071212_495_601.csv"; |
---|
| 32 | // constant entrances: entrances = "zlicin_const01_495_601.csv"; |
---|
| 33 | // entrances = "zlicin_const02_495_601.csv"; |
---|
| 34 | entrances = "zlicin_const02_495_601.csv"; |
---|
| 35 | |
---|
| 36 | // Simulation length. Due to design of the Aimsun simulator, |
---|
| 37 | // simulation in our case starts always at 00:00:00. Default simulation |
---|
| 38 | // length is 24 hours (24:00:00). |
---|
[941] | 39 | stop_time = "00:05:00"; |
---|
[932] | 40 | |
---|
[921] | 41 | }; |
---|
[932] | 42 | |
---|
| 43 | //Number of recieve/broadcast calls before end of negotitaion |
---|
| 44 | negotiation_cycles = 5; |
---|