StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair_demand_types.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_STDAIR_DEMAND_TYPES_HPP
2 #define __STDAIR_STDAIR_DEMAND_TYPES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 #include <map>
11 // Boost Random
12 #include <boost/random/linear_congruential.hpp>
13 #include <boost/random/uniform_real.hpp>
14 #include <boost/random/variate_generator.hpp>
15 // Boost (Extended STL)
16 #include <boost/date_time/gregorian/gregorian.hpp>
17 #include <boost/date_time/posix_time/posix_time.hpp>
18 #include <boost/tuple/tuple.hpp>
19 // StdAir
23 
24 
25 namespace stdair {
26 
27  // //////// Type definitions /////////
29  typedef bool ChangeFees_T;
30 
32  typedef bool NonRefundable_T;
33 
35  typedef bool SaturdayStay_T;
36 
39  typedef double SaturdayStayRatio_T;
40 
43  typedef double ChangeFeesRatio_T;
44 
47  typedef double NonRefundableRatio_T;
48 
50  typedef double Disutility_T;
51 
54  typedef std::string PassengerType_T;
55 
57  typedef std::string DistributionPatternId_T;
58 
60  typedef std::string CancellationRateCurveId_T;
61 
63  typedef std::string AirlinePreferenceId_T;
64 
66  typedef std::pair<Percentage_T, Percentage_T> CancellationNoShowRatePair_T;
67 
70  typedef std::string CharacteristicsPatternId_T;
71 
73  typedef std::string CharacteristicsIndex_T;
74 
76  typedef double WTP_T;
77 
79  typedef boost::tuples::tuple<double, WTP_T> CharacteristicsWTP_tuple_T;
80 
82  typedef std::pair<WTP_T, MeanStdDevPair_T> WTPDemandPair_T;
83 
86 
89 
91  typedef double MatchingIndicator_T;
92 
94  typedef std::string DemandStreamKeyStr_T;
95 
97  typedef std::string ChannelLabel_T;
98 
100  typedef std::string FrequentFlyer_T;
101 
104  typedef std::string RequestStatus_T;
105 
107  typedef std::map<Identity_T, Identity_T> BookingTSIDMap_T;
108 
110  typedef std::pair<CabinCode_T, ClassCode_T> CabinClassPair_T;
111 
113  typedef std::list<CabinClassPair_T> CabinClassPairList_T;
114 
116  typedef double ProportionFactor_T;
117 
119  typedef std::list<ProportionFactor_T> ProportionFactorList_T;
120 
122  typedef std::string OnDString_T;
123 
125  typedef std::list<OnDString_T> OnDStringList_T;
126 
127 }
128 #endif // __STDAIR_STDAIR_DEMAND_TYPES_HPP
std::map< Identity_T, Identity_T > BookingTSIDMap_T
boost::tuples::tuple< double, WTP_T > CharacteristicsWTP_tuple_T
double Disutility_T
Handle on the StdAir library context.
std::list< ProportionFactor_T > ProportionFactorList_T
std::list< CabinClassPair_T > CabinClassPairList_T
std::string AirlinePreferenceId_T
std::string CharacteristicsPatternId_T
std::string OnDString_T
std::pair< WTP_T, MeanStdDevPair_T > WTPDemandPair_T
double NbOfRequests_T
std::string RequestStatus_T
std::string DemandStreamKeyStr_T
std::string PassengerType_T
std::string DistributionPatternId_T
double MatchingIndicator_T
std::string FrequentFlyer_T
double ChangeFeesRatio_T
std::string CancellationRateCurveId_T
std::pair< Percentage_T, Percentage_T > CancellationNoShowRatePair_T
double NonRefundableRatio_T
std::string CharacteristicsIndex_T
double SaturdayStayRatio_T
double ProportionFactor_T
NbOfRequests_T NbOfCancellations_T
std::list< OnDString_T > OnDStringList_T
NbOfRequests_T NbOfNoShows_T
std::string ChannelLabel_T
std::pair< CabinCode_T, ClassCode_T > CabinClassPair_T