Show
Ignore:
Timestamp:
06/11/10 23:31:59 (14 years ago)
Author:
ondrak
Message:

Added option to set simulation length in number of cycles

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/aimsun_bdm/aimsun_ds.h

    r1027 r1089  
    4545         
    4646        //! number of steps 
    47         int max_length() {return 960;} 
     47        int max_length() {return stopCycle;} 
     48 
     49        //! converts i to string, if i has only one digit, adds 0 before it 
     50        string int_to_string(int const i); 
    4851 
    4952        virtual void from_setting ( const Setting &cfg ); 
     
    5558        string entranceFileName; 
    5659         
    57         //! Stip time of the simulation 
     60        //! Stop time of the simulation 
    5861        string stopTime; 
     62 
     63        //! Number of cycles of the simulation 
     64        int stopCycle; 
    5965         
    6066        void AimsunDS::initVGS (