TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
DemandCharacteristics.hpp
Go to the documentation of this file.
1 #ifndef __TRADEMGEN_BAS_DEMAND_CHARACTERISTICS_HPP
2 #define __TRADEMGEN_BAS_DEMAND_CHARACTERISTICS_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/stdair_date_time_types.hpp>
12 #include <stdair/basic/StructAbstract.hpp>
13 // TraDemGen
15 
16 namespace TRADEMGEN {
17 
21  struct DemandCharacteristics : public stdair::StructAbstract {
22 
23  public:
24  // ////////////// Business support methods //////////
28  const stdair::AirportCode_T&
29  getPOSValue (const stdair::Probability_T& iCumulativeProbability) const;
30 
34  bool checkPOSValue (const stdair::AirportCode_T& iPOS) const;
35 
36 
37  public:
38  // ////////////// Display support methods //////////
42  const std::string describe() const;
43 
44 
45  public:
46  // ////////// Constructors and destructors /////////
56  const stdair::ChangeFeesRatio_T&,
57  const stdair::Disutility_T&,
58  const stdair::NonRefundableRatio_T&,
59  const stdair::Disutility_T&,
61  const stdair::WTP_T&,
63 
68 
73 
78 
79 
80  public:
81  // //////////////////// Attributes /////////////////////
88 
93 
98 
103 
108 
113 
117  stdair::ChangeFeesRatio_T _changeFeeProb;
118 
122  stdair::Disutility_T _changeFeeDisutility;
123 
127  stdair::NonRefundableRatio_T _nonRefundableProb;
128 
132  stdair::Disutility_T _nonRefundableDisutility;
133 
138 
143  stdair::WTP_T _minWTP;
144 
149 
154  };
155 
156 }
157 #endif // __TRADEMGEN_BAS_DEMAND_CHARACTERISTICS_HPP