TraDemGen Logo  0.2.2
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
TRADEMGEN::DemandParser Class Reference

Class wrapping the parser entry point. More...

#include <trademgen/command/DemandParser.hpp>

+ Inheritance diagram for TRADEMGEN::DemandParser:

List of all members.

Static Public Member Functions

static void generateDemand (const stdair::Filename_T &, stdair::EventQueue &, stdair::RandomGeneration &, const POSProbabilityMass_T &)

Detailed Description

Class wrapping the parser entry point.

Definition at line 26 of file DemandParser.hpp.


Member Function Documentation

void TRADEMGEN::DemandParser::generateDemand ( const stdair::Filename_T &  iFilename,
stdair::EventQueue &  ioEventQueue,
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:
conststdair::Filename_T& The file-name of the CSV-formatted demand input file.
stdair::EventQueue&Event queue.
stdair::RandomGeneration&Random generator.

Definition at line 18 of file DemandParser.cpp.

References TRADEMGEN::DemandFileParser::generateDemand().


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