1.00.4
C++ Simulated Travel Demand Generation Library
|
|
Go to the documentation of this file. 1 #ifndef __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
2 #define __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
10 #include <stdair/command/CmdAbstract.hpp>
12 #include <sevmgr/SEVMGR_Types.hpp>
20 struct RandomGeneration;
25 namespace DemandParserHelper {
187 void operator() (
unsigned int iInteger)
const;
262 void operator() (
unsigned int iInteger)
const;
277 doEndDemand (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration&,
385 public boost::spirit::classic::grammar<DemandParser> {
387 DemandParser (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration&,
390 template <
typename ScannerT>
411 boost::spirit::classic::rule<ScannerT>
const&
start()
const;
439 const stdair::Filename_T& iDemandInputFilename);
451 stdair::Filename_T _filename;
460 SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr;
463 stdair::RandomGeneration& _uniformGenerator;
473 #endif // __TRADEMGEN_CMD_DEMANDPARSERHELPER_HPP
storeDemandNonRefundableProb(DemandStruct &)
storeDestination(DemandStruct &)
boost::spirit::classic::rule< ScannerT > demand_list
storeChannelCode(DemandStruct &)
boost::spirit::classic::rule< ScannerT > dtd_pair
storeDemandMean(DemandStruct &)
storePosProbMass(DemandStruct &)
storeFFProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > const & start() const
boost::spirit::classic::rule< ScannerT > dow
void operator()(double iReal) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > stay_pair
boost::spirit::classic::rule< ScannerT > stay_dist
boost::spirit::classic::rule< ScannerT > trip_pair
boost::spirit::classic::rule< ScannerT > time_value_pair
storeChannelProbMass(DemandStruct &)
storePosCode(DemandStruct &)
boost::spirit::classic::rule< ScannerT > date
boost::spirit::classic::rule< ScannerT > time_value_share
void operator()(double iReal) const
void operator()(double iReal) const
void operator()(unsigned int iInteger) const
storePrefCabin(DemandStruct &)
boost::spirit::classic::rule< ScannerT > channel_share
boost::spirit::classic::rule< ScannerT > pos_pair
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > pos_dist
stdair::RandomGeneration & _uniformGenerator
boost::spirit::classic::rule< ScannerT > pref_dep_time_share
boost::spirit::classic::rule< ScannerT > wtp
storePrefDepTime(DemandStruct &)
boost::spirit::classic::rule< ScannerT > demand
storeFFCode(DemandStruct &)
stdair::RandomGeneration & _uniformGenerator
storeDemandChangeFeeProb(DemandStruct &)
boost::spirit::classic::rule< ScannerT > channel_pair
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > trip_dist
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > dtd_dist
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > not_to_be_parsed
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > destination
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storeDemandChangeFeeDisutility(DemandStruct &)
boost::spirit::classic::rule< ScannerT > pos_code
void operator()(double iReal) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > time_value_dist
ParserSemanticAction(DemandStruct &)
void operator()(double iReal) const
DemandFileParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, const stdair::Filename_T &iDemandInputFilename)
boost::spirit::classic::rule< ScannerT > pref_dep_time_pair
storeOrigin(DemandStruct &)
boost::spirit::classic::rule< ScannerT > ff_share
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
const POSProbabilityMass_T & _posProbabilityMass
boost::spirit::classic::rule< ScannerT > pref_cabin
boost::spirit::classic::rule< ScannerT > channel_code
void operator()(unsigned int iInteger) const
boost::spirit::classic::rule< ScannerT > ff_dist
boost::spirit::classic::rule< ScannerT > stay_share
storeDemandStdDev(DemandStruct &)
boost::spirit::classic::rule< ScannerT > demand_params
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storeTripProbMass(DemandStruct &)
storeDemandNonRefundableDisutility(DemandStruct &)
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > change_fees
boost::spirit::classic::rule< ScannerT > time
boost::spirit::classic::rule< ScannerT > pos_share
boost::spirit::classic::rule< ScannerT > pref_dep_time_dist
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
storeTimeValueProbMass(DemandStruct &)
void operator()(double iReal) const
void operator()(double iReal) const
storeStayProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > dtd_share
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storePrefDepDateRangeEnd(DemandStruct &)
storeTripCode(DemandStruct &)
definition(DemandParser const &self)
boost::spirit::classic::file_iterator< char_t > iterator_t
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > demand_end
boost::spirit::classic::rule< ScannerT > ff_pair
boost::spirit::classic::rule< ScannerT > channel_dist
storeTimeValue(DemandStruct &)
void operator()(double iReal) const
DemandParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
void operator()(double iReal) const
const POSProbabilityMass_T & _posProbabilityMass
storeStayCode(DemandStruct &)
storeDTDProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > trip_share
doEndDemand(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
storePrefDepTimeProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > non_refundable
boost::spirit::classic::rule< ScannerT > origin
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > ff_code
storePrefDepDateRangeStart(DemandStruct &)
boost::spirit::classic::rule< ScannerT > trip_code
boost::spirit::classic::rule< ScannerT > pref_dep_date_range
void operator()(double iReal) const
void operator()(double iReal) const