StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
20namespace 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
Handle on the StdAir library context.
std::string CharacteristicsPatternId_T
std::string AirlinePreferenceId_T
std::list< ProportionFactor_T > ProportionFactorList_T
std::pair< CabinCode_T, ClassCode_T > CabinClassPair_T
std::pair< WTP_T, MeanStdDevPair_T > WTPDemandPair_T
std::string ChannelLabel_T
std::string RequestStatus_T
std::map< Identity_T, Identity_T > BookingTSIDMap_T
std::string PassengerType_T
std::string CharacteristicsIndex_T
boost::tuples::tuple< double, WTP_T > CharacteristicsWTP_tuple_T
std::string FrequentFlyer_T
NbOfRequests_T NbOfCancellations_T
std::list< OnDString_T > OnDStringList_T
double ChangeFeesRatio_T
std::string OnDString_T
double SaturdayStayRatio_T
double NonRefundableRatio_T
std::string DemandStreamKeyStr_T
std::list< CabinClassPair_T > CabinClassPairList_T
std::pair< Percentage_T, Percentage_T > CancellationNoShowRatePair_T
double NbOfRequests_T
NbOfRequests_T NbOfNoShows_T
std::string DistributionPatternId_T
double MatchingIndicator_T
std::string CancellationRateCurveId_T
double ProportionFactor_T