Utility class to import object in the configuration holder. More...
#include <tvlsim/bom/ConfigImport.hpp>
Static Public Member Functions | |
static void | importINI (stdair::STDAIR_Service &, const stdair::Date_T &iStartDate, const stdair::Date_T &iEndDate, const stdair::RandomSeed_T &, const stdair::DemandGenerationMethod &, const NbOfRuns_T &) |
static void | importFiles (stdair::STDAIR_Service &, const stdair::ScheduleFilePath &, const stdair::ODFilePath &, const stdair::FRAT5FilePath &, const stdair::FFDisutilityFilePath &, const AIRRAC::YieldFilePath &, const SIMFQT::FareFilePath &, const TRADEMGEN::DemandFilePath &) |
Utility class to import object in the configuration holder.
Definition at line 25 of file ConfigImport.hpp.
|
static |
Search if INI config files exist in pre-defined directories. If existing, try to load their contents into a boost property tree.
stdair::STDAIR_ServicePtr_T | Reference on the StdAir service. |
const | stdair::Date_T& Start date of the simulation. |
const | stdair::Date_T& End date of the simulation. |
const | stdair::RandomSeed_T& Seed for the random generation used by the demand generation component (TraDemGen). |
const | stdair::DemandGenerationMethod& States whether the demand generation must be performed following the method based on statistic orders. The alternative method, while more "intuitive", is also a sequential algorithm. |
const | NbOfRuns_T& Number of simulation runs to be performed. |
Definition at line 22 of file ConfigImport.cpp.
References TVLSIM::DEFAULT_CONFIG_INI_FILE.
|
static |
Load the schedule, O&D, FRAT5, FFDisutility, yield, fare and demand input file anmes into the configuration holder.
stdair::STDAIR_ServicePtr_T | Reference on the StdAir service. |
const | stdair::ScheduleFilePath& Filename of the input schedule file. |
const | stdair::ODFilePath& Filename of the input O&D file. |
const | stdair::FRAT5FilePath& Filename of the input FRAT5 file. |
const | stdair::FFDisutilityFilePath& Filename of the input FF disutility file. |
const | AIRRAC::YieldFilePath& Filename of the input yield file. |
const | SIMFQT::FareFilePath& Filename of the input fare file. |
const | TRADEMGEN::DemandFilePath& Filename of the input demand file. |
Definition at line 73 of file ConfigImport.cpp.
Referenced by TVLSIM::TVLSIM_Service::setInputFiles().