TraDemGen Logo  1.00.10
C++ Simulated Travel Demand Generation Library
Loading...
Searching...
No Matches
TRADEMGEN::DemandParser Class Reference

Class wrapping the parser entry point. More...

#include <trademgen/command/DemandParser.hpp>

+ Inheritance diagram for TRADEMGEN::DemandParser:

Static Public Member Functions

static void generateDemand (const DemandFilePath &, SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &)
 

Detailed Description

Class wrapping the parser entry point.

Definition at line 28 of file DemandParser.hpp.

Member Function Documentation

◆ generateDemand()

void TRADEMGEN::DemandParser::generateDemand ( const DemandFilePath & iDemandFilename,
SEVMGR::SEVMGR_ServicePtr_T ioSEVMGR_ServicePtr,
stdair::RandomGeneration & ioSharedGenerator,
const POSProbabilityMass_T & iDefaultPOSProbablityMass )
static

Parse the CSV file describing travel demand, for instance for generating simulated booking request in a simulator.

The state of the random generator, given as parameter, evolves each time a demand request is generated.

Parameters
constDemandFilePath& The file-name of the CSV-formatted demand input file.
SEVMGR::SEVMGR_ServicePtr_TPointer on the SEvMgr service handler to update the queue with the parsed information.
stdair::RandomGeneration&Random generator.

Definition at line 17 of file DemandParser.cpp.

References TRADEMGEN::DemandFileParser::generateDemand().

Referenced by TRADEMGEN::TRADEMGEN_Service::parseAndLoad().


The documentation for this class was generated from the following files: