#include <rmol/command/BasedForecasting.hpp>
Static Public Member Functions | |
static bool | forecast (stdair::SegmentCabin &, const stdair::Date_T &, const stdair::DTD_T &, const stdair::UnconstrainingMethod &, const stdair::NbOfSegments_T &) |
static void | prepareHistoricalBooking (const stdair::SegmentCabin &, const stdair::BookingClass &, const stdair::SegmentSnapshotTable &, HistoricalBookingHolder &, const stdair::DCP_T &, const stdair::DCP_T &, const stdair::NbOfSegments_T &, const stdair::NbOfSegments_T &) |
Class wrapping the forecasting algorithms.
Definition at line 21 of file BasedForecasting.hpp.
|
static |
Forecast demand for a segment cabin. Compute for the current DTD the mean and the standard deviation of unconstrained bookings of similar flights.
stdair::SegmentCabin& | Current Segment Cabin |
const | stdair::Date_T& Current Date |
const | stdair::DTD_T& Current DTD |
const | stdair::UnconstrainingMethod& Method used for the unconstraining |
const | stdair::NbOfSegments_T& Number of usable historical segments |
Definition at line 31 of file BasedForecasting.cpp.
References RMOL::Utilities::computeDistributionParameters(), RMOL::HistoricalBookingHolder::getNbOfFlights(), RMOL::SegmentSnapshotTableHelper::getNbOfSegmentAlreadyPassedThisDTD(), RMOL::HistoricalBookingHolder::getUnconstrainedDemand(), prepareHistoricalBooking(), and RMOL::Detruncator::unconstrain().
|
static |
Prepare the historical booking figures for a given cabin
const | stdair::DCP_T& DCP range start |
const | stdair::DCP_T& DCP range end |
const | stdair::NbOfSegments_T& Segment range start index |
const | stdair::NbOfSegments_T& Segment range end index |
Definition at line 121 of file BasedForecasting.cpp.
References RMOL::HistoricalBookingHolder::addHistoricalBooking().
Referenced by forecast().