#include <rmol/bom/SellupProbabilityCalculator.hpp>
Public Member Functions | |
virtual void | toStream (std::ostream &ioOut) const =0 |
virtual void | fromStream (std::istream &ioIn)=0 |
virtual std::string | toString () const =0 |
virtual const std::string | describeKey () const =0 |
virtual const std::string | describeShortKey () const =0 |
Static Public Member Functions | |
static void | calculateSellupProbability (BucketHolder &, const double iQYield, const SellupFactorHolder_T &, SellupProbabilityVector_T &) |
Accessary Class for Sellup considered forecast methods.
Definition at line 16 of file SellupProbabilityCalculator.hpp.
void RMOL::SellupProbabilityCalculator::calculateSellupProbability | ( | BucketHolder & | iBucketHolder, | |
const double | iQYield, | |||
const SellupFactorHolder_T & | iSellupFactorHolder, | |||
SellupProbabilityVector_T & | ioSellupProbabilityVector | |||
) | [static] |
Calculate sell-up probability for given sell-up factor, and yield ratio between the sell-up occurs.
The formular was proposed by Belobaba and Hopperstad: Algorithms for Revenue Management in Unrestricted Fare Markets, AGIFORS, Auckland, New Zealand, Jan 2004
Definition at line 15 of file SellupProbabilityCalculator.cpp.
References RMOL::BucketHolder::begin(), RMOL::Bucket::getAverageYield(), RMOL::BucketHolder::getCurrentBucket(), RMOL::BucketHolder::hasNotReachedEnd(), and RMOL::BucketHolder::iterate().
Referenced by RMOL::Forecaster::qEquivalentBookingCalculation().
virtual void RMOL::BomAbstract::toStream | ( | std::ostream & | ioOut | ) | const [pure virtual, inherited] |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implemented in RMOL::Bucket, RMOL::BucketHolder, RMOL::Demand, RMOL::Overbooking, RMOL::PartialSumHolder, RMOL::PartialSumHolderHolder, and RMOL::StudyStatManager.
virtual void RMOL::BomAbstract::fromStream | ( | std::istream & | ioIn | ) | [pure virtual, inherited] |
Read a Business Object from an input stream.
istream& | the input stream. |
Implemented in RMOL::Bucket, RMOL::BucketHolder, RMOL::Demand, RMOL::Overbooking, RMOL::PartialSumHolder, RMOL::PartialSumHolderHolder, and RMOL::StudyStatManager.
Referenced by operator>>().
virtual std::string RMOL::BomAbstract::toString | ( | ) | const [pure virtual, inherited] |
Get the serialised version of the Business Object.
Implemented in RMOL::Bucket, RMOL::BucketHolder, RMOL::Demand, RMOL::Overbooking, RMOL::PartialSumHolder, RMOL::PartialSumHolderHolder, and RMOL::StudyStatManager.
virtual const std::string RMOL::BomAbstract::describeKey | ( | ) | const [pure virtual, inherited] |
Get a string describing the whole key (differentiating two objects at any level).
Implemented in RMOL::Bucket, RMOL::BucketHolder, RMOL::Demand, RMOL::Overbooking, RMOL::PartialSumHolder, RMOL::PartialSumHolderHolder, and RMOL::StudyStatManager.
virtual const std::string RMOL::BomAbstract::describeShortKey | ( | ) | const [pure virtual, inherited] |
Get a string describing the short key (differentiating two objects at the same level).
Implemented in RMOL::Bucket, RMOL::BucketHolder, RMOL::Demand, RMOL::Overbooking, RMOL::PartialSumHolder, RMOL::PartialSumHolderHolder, and RMOL::StudyStatManager.
Generated on Sat Sep 26 13:13:09 2009 for RMOL by Doxygen 1.6.1