RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads
RMOL::QEquivalentBookingCalculator Class Reference

#include <rmol/bom/QEquivalentBookingCalculator.hpp>

Inheritance diagram for RMOL::QEquivalentBookingCalculator:
RMOL::BomAbstract

List of all members.

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 &)

Detailed Description

Accessary Class for Sellup considered forecast methods.

Definition at line 17 of file QEquivalentBookingCalculator.hpp.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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]
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.


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