1 #ifndef __TRADEMGEN_BOM_DEMANDSTREAM_HPP
2 #define __TRADEMGEN_BOM_DEMANDSTREAM_HPP
8 #include <stdair/bom/BomAbstract.hpp>
9 #include <stdair/bom/BookingRequestTypes.hpp>
10 #include <stdair/basic/RandomGeneration.hpp>
11 #include <stdair/basic/DemandGenerationMethod.hpp>
22 template <
typename BOM>
class FacBom;
148 const stdair::ChangeFeesRatio_T& iChangeFeeProb,
149 const stdair::Disutility_T& iChangeFeeDisutility,
150 const stdair::NonRefundableRatio_T& iNonRefundableProb,
151 const stdair::Disutility_T& iNonRefundableDisutility,
153 const stdair::WTP_T& iMinWTP,
157 iChannelProbMass, iTripTypeProbMass,
158 iStayDurationProbMass, iFrequentFlyerProbMass,
159 iChangeFeeProb, iChangeFeeDisutility,
160 iNonRefundableProb, iNonRefundableDisutility,
161 iPreferredDepartureTimeContinuousDistribution,
162 iMinWTP, iValueOfTimeContinuousDistribution);
197 const stdair::ChangeFeesRatio_T&,
198 const stdair::Disutility_T&,
199 const stdair::NonRefundableRatio_T&,
200 const stdair::Disutility_T&,
202 const stdair::WTP_T&,
205 stdair::BaseGenerator_T& ioSharedGenerator,
206 const stdair::RandomSeed_T& iRequestDateTimeSeed,
207 const stdair::RandomSeed_T& iDemandCharacteristicsSeed,
215 _firstDateTimeRequest = iFirstDateTimeRequest;
260 const stdair::WTP_T
generateWTP (stdair::RandomGeneration&,
261 const stdair::Date_T&,
262 const stdair::DateTime_T&,
263 const stdair::DayDuration_T&);
278 stdair::BookingRequestPtr_T
280 const stdair::DemandGenerationMethod&);
283 void reset (stdair::BaseGenerator_T& ioSharedGenerator);
338 void init (stdair::BaseGenerator_T& ioSharedGenerator);
395 bool _stillHavingRequestsToBeGenerated;
396 bool _firstDateTimeRequest;
397 stdair::FloatDuration_T _dateTimeLastRequest;
401 #endif // __TRADEMGEN_BOM_DEMANDSTREAM_HPP