#include <rmol/bom/QEquivalentBookingCalculator.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 | calculateQEquivalentBooking (HistoricalBookingHolderHolder &, SellupProbabilityVector_T &, HolderOfQEquivalentBookingsPerSimilarFlight_T &) |
Accessary Class for Sellup considered forecast methods.
Definition at line 17 of file QEquivalentBookingCalculator.hpp.
| void RMOL::QEquivalentBookingCalculator::calculateQEquivalentBooking | ( | HistoricalBookingHolderHolder & | iHistoricalBookingHolderHolder, |
| SellupProbabilityVector_T & | iSellupProbabilityVector, | ||
| HolderOfQEquivalentBookingsPerSimilarFlight_T & | oHolderOfQEquivalentBookingsPerSimilarFlight | ||
| ) | [static] |
Calculate Q-equivalent bookings probability for given sell-up probabilities.
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 QEquivalentBookingCalculator.cpp.
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.
Referenced by operator<<().
| 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.