Show
Ignore:
Timestamp:
05/25/10 23:53:49 (14 years ago)
Author:
ondrak
Message:

added queues 601_Q1 and 601_Q2 to aimsun_ds.cpp
added function to count expected_density to LaneHandler?
added compulsory input_distances and output_distances to cfg
action_rv renamed to rv_action (to match convention)
some work on GreenWaveTrafficAgent?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/Zlicingw.cfg

    r941 r986  
    44        name = "495"; 
    55        lanes = ( 
    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";} 
     6                        { sg="VA"; inputs = ("495_DVA1","495_DVB");  outputs= ("601_DVA"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q1";},  
     7                        { sg="VB"; inputs = ("495_DVA1","495_DVB");  outputs= ("601_DVB"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q2";} 
    88        ); 
    99        neighbours = ("601"); 
    10         offset = 40; //s 
     10        offset = 10; //s 
    1111        sgs=("VA","VB","VC","VD","VE","VF"); 
     12        green_starts=[72,4,5,35,36,71]; 
    1213        moje_special=14; 
    1314}, 
    1415{ //agent 2 
    1516        class = "GreenWaveTrafficAgent"; 
    16         name = "601";   
     17        name = "601"; 
     18        lanes = ( 
     19                        { sg="VA"; inputs = ("601_DVA","601_DVB");  outputs= ("495_DVA"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q1";},  
     20                        { sg="VB"; inputs = ("601_DVC","601_DVD");  outputs= ("495_DVB"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q2";} 
     21        );   
    1722        neighbours = ("495"); 
    18         sgs=("VA","VB","VC","VD","VE"); 
     23        offset = 40; 
     24        sgs=("VA","VB","VC","VD","VE","SE"); 
     25        green_starts=[54,9,26,25,9,9]; 
    1926} 
    2027 
     
    4148}; 
    4249 
    43 //Number of recieve/broadcast calls before end of negotitaion 
     50//Number of recieve/broadcast calls before end of negotiation 
    4451negotiation_cycles = 5;