Show
Ignore:
Timestamp:
06/09/10 19:47:19 (14 years ago)
Author:
ondrak
Message:

new config parameters

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/traffic_agent.cpp

    r1026 r1070  
    5151void BaseTrafficAgent::from_setting(const Setting& set) 
    5252{ 
    53         step_length=90; 
    54         cycle_length=80; 
    55  
    5653        bdm::Participant::from_setting(set); 
    5754         
     
    6663        //UI::get(lanes,set,"lanes", UI::compulsory); 
    6764        UI::get(neighbours, set, "neighbours", UI::optional); 
     65        UI::get(green_names, set, "green_names", UI::compulsory); 
     66        UI::get(green_starts, set, "green_starts", UI::compulsory); 
     67        UI::get(green_times, set, "green_times", UI::compulsory); 
     68        UI::get(stage_names, set, "stage_names", UI::compulsory); 
     69        UI::get(stage_times, set, "stage_times", UI::compulsory); 
    6870}