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
boost::spirit::classic::rule< ScannerT > time_value_pair
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > const & start() const
boost::spirit::classic::rule< ScannerT > ff_pair
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > pref_dep_time_pair
boost::spirit::classic::rule< ScannerT > pref_dep_time_share
stdair::RandomGeneration & _uniformGenerator
boost::spirit::classic::rule< ScannerT > pos_dist
storePrefDepTime(DemandStruct &)
storePosProbMass(DemandStruct &)
storeDemandChangeFeeDisutility(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > channel_pair
boost::spirit::classic::rule< ScannerT > demand
boost::spirit::classic::rule< ScannerT > dtd_pair
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storeTripCode(DemandStruct &)
storeStayCode(DemandStruct &)
boost::spirit::classic::rule< ScannerT > trip_code
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > ff_share
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > demand_params
boost::spirit::classic::rule< ScannerT > destination
storeTripProbMass(DemandStruct &)
storeDestination(DemandStruct &)
storeFFProbMass(DemandStruct &)
storeChannelProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > pref_cabin
boost::spirit::classic::rule< ScannerT > dtd_dist
boost::spirit::classic::rule< ScannerT > stay_share
DemandParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
storeOrigin(DemandStruct &)
storeDemandStdDev(DemandStruct &)
boost::spirit::classic::rule< ScannerT > pos_pair
stdair::RandomGeneration & _uniformGenerator
boost::spirit::classic::rule< ScannerT > ff_code
storeChannelCode(DemandStruct &)
boost::spirit::classic::rule< ScannerT > pref_dep_time_dist
storeDemandMean(DemandStruct &)
storePrefDepTimeProbMass(DemandStruct &)
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > wtp
storeDemandChangeFeeProb(DemandStruct &)
storeDTDProbMass(DemandStruct &)
DemandFileParser(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, const stdair::Filename_T &iDemandInputFilename)
boost::spirit::classic::rule< ScannerT > origin
storePrefDepDateRangeEnd(DemandStruct &)
boost::spirit::classic::rule< ScannerT > ff_dist
boost::spirit::classic::rule< ScannerT > trip_pair
void operator()(double iReal) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > pos_code
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > change_fees
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > time
doEndDemand(SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, DemandStruct &)
boost::spirit::classic::rule< ScannerT > time_value_dist
storeTimeValue(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(double iReal) const
storePrefCabin(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > dow
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > non_refundable
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > stay_dist
boost::spirit::classic::rule< ScannerT > channel_dist
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > demand_end
void operator()(double iReal) const
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
storeFFCode(DemandStruct &)
void operator()(unsigned int iInteger) const
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > trip_share
boost::spirit::classic::rule< ScannerT > dtd_share
const POSProbabilityMass_T & _posProbabilityMass
boost::spirit::classic::rule< ScannerT > pref_dep_date_range
void operator()(iterator_t iStr, iterator_t iStrEnd) const
void operator()(double iReal) const
boost::spirit::classic::rule< ScannerT > stay_pair
void operator()(double iReal) const
void operator()(double iReal) const
boost::spirit::classic::file_iterator< char_t > iterator_t
boost::spirit::classic::rule< ScannerT > pos_share
storeTimeValueProbMass(DemandStruct &)
ParserSemanticAction(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > time_value_share
boost::spirit::classic::rule< ScannerT > not_to_be_parsed
SEVMGR::SEVMGR_ServicePtr_T _sevmgrServicePtr
void operator()(iterator_t iStr, iterator_t iStrEnd) const
boost::spirit::classic::rule< ScannerT > channel_share
boost::spirit::classic::rule< ScannerT > demand_list
storeStayProbMass(DemandStruct &)
boost::spirit::classic::rule< ScannerT > date
storeDemandNonRefundableProb(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storePosCode(DemandStruct &)
definition(DemandParser const &self)
void operator()(unsigned int iInteger) const
storeDemandNonRefundableDisutility(DemandStruct &)
void operator()(iterator_t iStr, iterator_t iStrEnd) const
storePrefDepDateRangeStart(DemandStruct &)
boost::spirit::classic::rule< ScannerT > channel_code
const POSProbabilityMass_T & _posProbabilityMass
boost::spirit::classic::rule< ScannerT > trip_dist