RMOL Logo  1.00.7
C++ library of Revenue Management and Optimisation classes and functions
RMOL::SegmentSnapshotTableHelper Class Reference

#include <rmol/bom/SegmentSnapshotTableHelper.hpp>

Static Public Member Functions

static stdair::NbOfSegments_T getNbOfSegmentAlreadyPassedThisDTD (const stdair::SegmentSnapshotTable &, const stdair::DTD_T &, const stdair::Date_T &)
 
static bool hasPassedThisDTD (const stdair::SegmentCabin &, const stdair::DTD_T &, const stdair::Date_T &)
 

Detailed Description

Class representing the actual business functions for an airline guillotine block.

Definition at line 23 of file SegmentSnapshotTableHelper.hpp.

Member Function Documentation

◆ getNbOfSegmentAlreadyPassedThisDTD()

stdair::NbOfSegments_T RMOL::SegmentSnapshotTableHelper::getNbOfSegmentAlreadyPassedThisDTD ( const stdair::SegmentSnapshotTable &  iGB,
const stdair::DTD_T &  iDTD,
const stdair::Date_T &  iCurrentDate 
)
static

Retrieve the number of similar segments which already passed the given DTD.

Definition at line 19 of file SegmentSnapshotTableHelper.cpp.

References hasPassedThisDTD().

Referenced by RMOL::BasedForecasting::forecast(), RMOL::HybridForecasting::forecast(), RMOL::OldQFF::forecast(), RMOL::QForecasting::forecast(), and RMOL::Utilities::getNbOfDepartedSimilarSegments().

◆ hasPassedThisDTD()

bool RMOL::SegmentSnapshotTableHelper::hasPassedThisDTD ( const stdair::SegmentCabin &  iSegmentCabin,
const stdair::DTD_T &  iDTD,
const stdair::Date_T &  iCurrentDate 
)
static

Check if the given segment has passed the given DTD.

Definition at line 41 of file SegmentSnapshotTableHelper.cpp.

Referenced by getNbOfSegmentAlreadyPassedThisDTD().


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