TraDemGen Logo  1.00.13
C++ Simulated Travel Demand Generation Library
Loading...
Searching...
No Matches
TRADEMGEN::DemandStruct Struct Reference

#include <trademgen/bom/DemandStruct.hpp>

+ Inheritance diagram for TRADEMGEN::DemandStruct:

Public Member Functions

stdair::Date_T getDate () const
 
stdair::Duration_T getTime () const
 
const std::string describe () const
 
 DemandStruct ()
 
 ~DemandStruct ()
 

Public Attributes

stdair::DatePeriod_T _dateRange
 
stdair::DoWStruct _dow
 
stdair::AirportCode_T _origin
 
stdair::AirportCode_T _destination
 
stdair::CabinCode_T _prefCabin
 
stdair::MeanValue_T _demandMean
 
stdair::StdDevValue_T _demandStdDev
 
stdair::ChangeFeesRatio_T _changeFeeProb
 
stdair::Disutility_T _changeFeeDisutility
 
stdair::NonRefundableRatio_T _nonRefundableProb
 
stdair::Disutility_T _nonRefundableDisutility
 
POSProbabilityMassFunction_T _posProbDist
 
ChannelProbabilityMassFunction_T _channelProbDist
 
TripTypeProbabilityMassFunction_T _tripProbDist
 
StayDurationProbabilityMassFunction_T _stayProbDist
 
FrequentFlyerProbabilityMassFunction_T _ffProbDist
 
PreferredDepartureTimeContinuousDistribution_T _prefDepTimeProbDist
 
stdair::WTP_T _minWTP
 
ValueOfTimeContinuousDistribution_T _timeValueProbDist
 
ArrivalPatternCumulativeDistribution_T _dtdProbDist
 
stdair::Date_T _prefDepDateStart
 
stdair::Date_T _prefDepDateEnd
 
unsigned int _itYear
 
unsigned int _itMonth
 
unsigned int _itDay
 
long _itHours
 
long _itMinutes
 
long _itSeconds
 
stdair::AirportCode_T _itPosCode
 
stdair::ChannelLabel_T _itChannelCode
 
stdair::TripType_T _itTripCode
 
stdair::DayDuration_T _itStayDuration
 
stdair::FrequentFlyer_T _itFFCode
 
stdair::Duration_T _itPrefDepTime
 
stdair::PriceValue_T _itTimeValue
 
stdair::DayDuration_T _itDTD
 

Detailed Description

Utility Structure for the parsing of Demand structures.

Definition at line 21 of file DemandStruct.hpp.

Constructor & Destructor Documentation

◆ DemandStruct()

TRADEMGEN::DemandStruct::DemandStruct ( )

Default constructor.

Definition at line 18 of file DemandStruct.cpp.

References _dateRange, _dow, _itFFCode, _itHours, _itMinutes, _itSeconds, and _prefCabin.

◆ ~DemandStruct()

TRADEMGEN::DemandStruct::~DemandStruct ( )

Destructor

Definition at line 26 of file DemandStruct.cpp.

Member Function Documentation

◆ getDate()

stdair::Date_T TRADEMGEN::DemandStruct::getDate ( ) const

Get the date from the staging details.

Definition at line 30 of file DemandStruct.cpp.

References _itDay, _itMonth, and _itYear.

◆ getTime()

stdair::Duration_T TRADEMGEN::DemandStruct::getTime ( ) const

Get the time from the staging details.

Definition at line 35 of file DemandStruct.cpp.

References _itHours, _itMinutes, and _itSeconds.

◆ describe()

const std::string TRADEMGEN::DemandStruct::describe ( ) const

Member Data Documentation

◆ _dateRange

stdair::DatePeriod_T TRADEMGEN::DemandStruct::_dateRange

Definition at line 51 of file DemandStruct.hpp.

Referenced by DemandStruct(), and describe().

◆ _dow

stdair::DoWStruct TRADEMGEN::DemandStruct::_dow

Definition at line 52 of file DemandStruct.hpp.

Referenced by DemandStruct(), and describe().

◆ _origin

stdair::AirportCode_T TRADEMGEN::DemandStruct::_origin

Definition at line 53 of file DemandStruct.hpp.

Referenced by describe().

◆ _destination

stdair::AirportCode_T TRADEMGEN::DemandStruct::_destination

Definition at line 54 of file DemandStruct.hpp.

Referenced by describe().

◆ _prefCabin

stdair::CabinCode_T TRADEMGEN::DemandStruct::_prefCabin

Definition at line 55 of file DemandStruct.hpp.

Referenced by DemandStruct(), and describe().

◆ _demandMean

stdair::MeanValue_T TRADEMGEN::DemandStruct::_demandMean

Definition at line 56 of file DemandStruct.hpp.

Referenced by describe().

◆ _demandStdDev

stdair::StdDevValue_T TRADEMGEN::DemandStruct::_demandStdDev

Definition at line 57 of file DemandStruct.hpp.

Referenced by describe().

◆ _changeFeeProb

stdair::ChangeFeesRatio_T TRADEMGEN::DemandStruct::_changeFeeProb

Definition at line 58 of file DemandStruct.hpp.

Referenced by describe().

◆ _changeFeeDisutility

stdair::Disutility_T TRADEMGEN::DemandStruct::_changeFeeDisutility

Definition at line 59 of file DemandStruct.hpp.

◆ _nonRefundableProb

stdair::NonRefundableRatio_T TRADEMGEN::DemandStruct::_nonRefundableProb

Definition at line 60 of file DemandStruct.hpp.

Referenced by describe().

◆ _nonRefundableDisutility

stdair::Disutility_T TRADEMGEN::DemandStruct::_nonRefundableDisutility

Definition at line 61 of file DemandStruct.hpp.

◆ _posProbDist

POSProbabilityMassFunction_T TRADEMGEN::DemandStruct::_posProbDist

Definition at line 62 of file DemandStruct.hpp.

Referenced by describe().

◆ _channelProbDist

ChannelProbabilityMassFunction_T TRADEMGEN::DemandStruct::_channelProbDist

Definition at line 63 of file DemandStruct.hpp.

Referenced by describe().

◆ _tripProbDist

TripTypeProbabilityMassFunction_T TRADEMGEN::DemandStruct::_tripProbDist

Definition at line 64 of file DemandStruct.hpp.

Referenced by describe().

◆ _stayProbDist

StayDurationProbabilityMassFunction_T TRADEMGEN::DemandStruct::_stayProbDist

Definition at line 65 of file DemandStruct.hpp.

Referenced by describe().

◆ _ffProbDist

FrequentFlyerProbabilityMassFunction_T TRADEMGEN::DemandStruct::_ffProbDist

Definition at line 66 of file DemandStruct.hpp.

Referenced by describe().

◆ _prefDepTimeProbDist

PreferredDepartureTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_prefDepTimeProbDist

Definition at line 67 of file DemandStruct.hpp.

Referenced by describe().

◆ _minWTP

stdair::WTP_T TRADEMGEN::DemandStruct::_minWTP

Definition at line 68 of file DemandStruct.hpp.

Referenced by describe().

◆ _timeValueProbDist

ValueOfTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_timeValueProbDist

Definition at line 69 of file DemandStruct.hpp.

Referenced by describe().

◆ _dtdProbDist

ArrivalPatternCumulativeDistribution_T TRADEMGEN::DemandStruct::_dtdProbDist

Definition at line 70 of file DemandStruct.hpp.

Referenced by describe().

◆ _prefDepDateStart

stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateStart

Staging Date.

Definition at line 75 of file DemandStruct.hpp.

◆ _prefDepDateEnd

stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateEnd

Definition at line 76 of file DemandStruct.hpp.

◆ _itYear

unsigned int TRADEMGEN::DemandStruct::_itYear

◆ _itMonth

unsigned int TRADEMGEN::DemandStruct::_itMonth

◆ _itDay

unsigned int TRADEMGEN::DemandStruct::_itDay

◆ _itHours

long TRADEMGEN::DemandStruct::_itHours

◆ _itMinutes

long TRADEMGEN::DemandStruct::_itMinutes

◆ _itSeconds

long TRADEMGEN::DemandStruct::_itSeconds

◆ _itPosCode

stdair::AirportCode_T TRADEMGEN::DemandStruct::_itPosCode

Staging Point-Of-Sale (POS) code.

Definition at line 87 of file DemandStruct.hpp.

◆ _itChannelCode

stdair::ChannelLabel_T TRADEMGEN::DemandStruct::_itChannelCode

Staging channel type code.

Definition at line 90 of file DemandStruct.hpp.

◆ _itTripCode

stdair::TripType_T TRADEMGEN::DemandStruct::_itTripCode

Staging trip type code.

Definition at line 93 of file DemandStruct.hpp.

◆ _itStayDuration

stdair::DayDuration_T TRADEMGEN::DemandStruct::_itStayDuration

Staging stay duration.

Definition at line 96 of file DemandStruct.hpp.

◆ _itFFCode

stdair::FrequentFlyer_T TRADEMGEN::DemandStruct::_itFFCode

Staging Frequent Flyer code.

Definition at line 99 of file DemandStruct.hpp.

Referenced by DemandStruct().

◆ _itPrefDepTime

stdair::Duration_T TRADEMGEN::DemandStruct::_itPrefDepTime

Staging preferred departure time.

Definition at line 102 of file DemandStruct.hpp.

◆ _itTimeValue

stdair::PriceValue_T TRADEMGEN::DemandStruct::_itTimeValue

Staging time value.

Definition at line 105 of file DemandStruct.hpp.

◆ _itDTD

stdair::DayDuration_T TRADEMGEN::DemandStruct::_itDTD

Staging DTD (Days-To-Departure).

Definition at line 108 of file DemandStruct.hpp.


The documentation for this struct was generated from the following files: