1.00.0
C++ Simulated Travel Demand Generation Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
14
#include <
trademgen/basic/DemandCharacteristicsTypes.hpp
>
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 /////////
50
DemandCharacteristics
(
const
ArrivalPatternCumulativeDistribution_T
&,
51
const
POSProbabilityMassFunction_T
&,
52
const
ChannelProbabilityMassFunction_T
&,
53
const
TripTypeProbabilityMassFunction_T
&,
54
const
StayDurationProbabilityMassFunction_T
&,
55
const
FrequentFlyerProbabilityMassFunction_T
&,
56
const
stdair::ChangeFeesRatio_T&,
57
const
stdair::Disutility_T&,
58
const
stdair::NonRefundableRatio_T&,
59
const
stdair::Disutility_T&,
60
const
PreferredDepartureTimeContinuousDistribution_T
&,
61
const
stdair::WTP_T&,
62
const
ValueOfTimeContinuousDistribution_T
&);
63
67
DemandCharacteristics
();
68
72
DemandCharacteristics
(
const
DemandCharacteristics
&);
73
77
~DemandCharacteristics
();
78
79
80
public
:
81
// //////////////////// Attributes /////////////////////
87
ContinuousFloatDuration_T
_arrivalPattern
;
88
92
POSProbabilityMass_T
_posProbabilityMass
;
93
97
ChannelProbabilityMass_T
_channelProbabilityMass
;
98
102
TripTypeProbabilityMass_T
_tripTypeProbabilityMass
;
103
107
StayDurationProbabilityMass_T
_stayDurationProbabilityMass
;
108
112
FrequentFlyerProbabilityMass_T
_frequentFlyerProbabilityMass
;
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
137
PreferredDepartureTimeCumulativeDistribution_T
_preferredDepartureTimeCumulativeDistribution
;
138
143
stdair::WTP_T
_minWTP
;
144
148
CumulativeDistribution_T
_frat5Pattern
;
149
153
ValueOfTimeCumulativeDistribution_T
_valueOfTimeCumulativeDistribution
;
154
};
155
156
}
157
#endif // __TRADEMGEN_BAS_DEMAND_CHARACTERISTICS_HPP
Generated on Sun Dec 23 2012 17:58:29 for TraDemGen by
1.8.1.1