StdAir Logo  1.00.8
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 <list>
11 #include <map>
12 // Boost (Extended STL)
13 #include <boost/tuple/tuple.hpp>
14 // StdAir
18 
19 
20 namespace stdair {
21 
22  // //////// Type definitions /////////
24  typedef bool ChangeFees_T;
25 
27  typedef bool NonRefundable_T;
28 
30  typedef bool SaturdayStay_T;
31 
34  typedef double SaturdayStayRatio_T;
35 
38  typedef double ChangeFeesRatio_T;
39 
42  typedef double NonRefundableRatio_T;
43 
45  typedef double Disutility_T;
46 
49  typedef std::string PassengerType_T;
50 
52  typedef std::string DistributionPatternId_T;
53 
55  typedef std::string CancellationRateCurveId_T;
56 
58  typedef std::string AirlinePreferenceId_T;
59 
61  typedef std::pair<Percentage_T, Percentage_T> CancellationNoShowRatePair_T;
62 
65  typedef std::string CharacteristicsPatternId_T;
66 
68  typedef std::string CharacteristicsIndex_T;
69 
71  typedef double WTP_T;
72 
74  typedef boost::tuples::tuple<double, WTP_T> CharacteristicsWTP_tuple_T;
75 
77  typedef std::pair<WTP_T, MeanStdDevPair_T> WTPDemandPair_T;
78 
81 
84 
86  typedef double MatchingIndicator_T;
87 
89  typedef std::string DemandStreamKeyStr_T;
90 
92  typedef std::string ChannelLabel_T;
93 
95  typedef std::string FrequentFlyer_T;
96 
99  typedef std::string RequestStatus_T;
100 
102  typedef std::map<Identity_T, Identity_T> BookingTSIDMap_T;
103 
105  typedef std::pair<CabinCode_T, ClassCode_T> CabinClassPair_T;
106 
108  typedef std::list<CabinClassPair_T> CabinClassPairList_T;
109 
111  typedef double ProportionFactor_T;
112 
114  typedef std::list<ProportionFactor_T> ProportionFactorList_T;
115 
117  typedef std::string OnDString_T;
118 
120  typedef std::list<OnDString_T> OnDStringList_T;
121 
122 }
123 #endif // __STDAIR_STDAIR_DEMAND_TYPES_HPP
stdair::CabinClassPairList_T
std::list< CabinClassPair_T > CabinClassPairList_T
Definition: stdair_demand_types.hpp:108
stdair::AirlinePreferenceId_T
std::string AirlinePreferenceId_T
Definition: stdair_demand_types.hpp:58
stdair::CancellationNoShowRatePair_T
std::pair< Percentage_T, Percentage_T > CancellationNoShowRatePair_T
Definition: stdair_demand_types.hpp:61
stdair::DistributionPatternId_T
std::string DistributionPatternId_T
Definition: stdair_demand_types.hpp:52
stdair::FrequentFlyer_T
std::string FrequentFlyer_T
Definition: stdair_demand_types.hpp:95
stdair::SaturdayStay_T
bool SaturdayStay_T
Definition: stdair_date_time_types.hpp:41
stdair_inventory_types.hpp
stdair::ChangeFeesRatio_T
double ChangeFeesRatio_T
Definition: stdair_demand_types.hpp:38
stdair::ProportionFactorList_T
std::list< ProportionFactor_T > ProportionFactorList_T
Definition: stdair_demand_types.hpp:114
stdair::PassengerType_T
std::string PassengerType_T
Definition: stdair_demand_types.hpp:49
stdair::ProportionFactor_T
double ProportionFactor_T
Definition: stdair_demand_types.hpp:111
stdair::NbOfCancellations_T
NbOfRequests_T NbOfCancellations_T
Definition: stdair_basic_types.hpp:107
stdair::CabinClassPair_T
std::pair< CabinCode_T, ClassCode_T > CabinClassPair_T
Definition: stdair_demand_types.hpp:105
stdair::CancellationRateCurveId_T
std::string CancellationRateCurveId_T
Definition: stdair_demand_types.hpp:55
stdair::WTPDemandPair_T
std::pair< WTP_T, MeanStdDevPair_T > WTPDemandPair_T
Definition: stdair_demand_types.hpp:77
stdair::WTP_T
double WTP_T
Definition: stdair_demand_types.hpp:71
stdair::CharacteristicsWTP_tuple_T
boost::tuples::tuple< double, WTP_T > CharacteristicsWTP_tuple_T
Definition: stdair_demand_types.hpp:74
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::CharacteristicsIndex_T
std::string CharacteristicsIndex_T
Definition: stdair_demand_types.hpp:68
stdair::BookingTSIDMap_T
std::map< Identity_T, Identity_T > BookingTSIDMap_T
Definition: stdair_demand_types.hpp:102
stdair::SaturdayStayRatio_T
double SaturdayStayRatio_T
Definition: stdair_demand_types.hpp:34
stdair::NbOfNoShows_T
NbOfRequests_T NbOfNoShows_T
Definition: stdair_demand_types.hpp:83
stdair::Disutility_T
double Disutility_T
Definition: stdair_demand_types.hpp:45
stdair_maths_types.hpp
stdair::NonRefundable_T
bool NonRefundable_T
Definition: stdair_demand_types.hpp:27
stdair::MatchingIndicator_T
double MatchingIndicator_T
Definition: stdair_demand_types.hpp:86
stdair::ChannelLabel_T
std::string ChannelLabel_T
Definition: stdair_demand_types.hpp:92
stdair_basic_types.hpp
stdair::NbOfRequests_T
double NbOfRequests_T
Definition: stdair_basic_types.hpp:101
stdair::DemandStreamKeyStr_T
std::string DemandStreamKeyStr_T
Definition: stdair_demand_types.hpp:89
stdair::CharacteristicsPatternId_T
std::string CharacteristicsPatternId_T
Definition: stdair_demand_types.hpp:65
stdair::ChangeFees_T
bool ChangeFees_T
Definition: stdair_demand_types.hpp:24
stdair::RequestStatus_T
std::string RequestStatus_T
Definition: stdair_demand_types.hpp:99
stdair::NonRefundableRatio_T
double NonRefundableRatio_T
Definition: stdair_demand_types.hpp:42
stdair::OnDString_T
std::string OnDString_T
Definition: stdair_demand_types.hpp:117
stdair::OnDStringList_T
std::list< OnDString_T > OnDStringList_T
Definition: stdair_demand_types.hpp:120