RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
Utilities.hpp
Go to the documentation of this file.
1 #ifndef __RMOL_BOM_UTILITIES_HPP
2 #define __RMOL_BOM_UTILITIES_HPP
3 // //////////////////////////////////////////////////////////////////////
4 // Import section
5 // //////////////////////////////////////////////////////////////////////
6 // StdAir
7 #include <stdair/stdair_inventory_types.hpp>
8 #include <stdair/bom/FareFamilyTypes.hpp>
9 // RMOL
10 #include <rmol/RMOL_Types.hpp>
11 
12 // Forward declarations
13 namespace stdair {
14  class SegmentCabin;
15 }
16 
17 namespace RMOL {
18 
20  class Utilities {
21  public:
23  static void computeDistributionParameters (const stdair::UncDemVector_T&,
24  stdair::MeanValue_T&,
25  stdair::StdDevValue_T&);
26 
30  static stdair::DCPList_T buildRemainingDCPList (const stdair::DTD_T&);
31 
35  static stdair::DCPList_T buildPastDCPList (const stdair::DTD_T&);
36 
40  static stdair::NbOfSegments_T
41  getNbOfDepartedSimilarSegments (const stdair::SegmentCabin&,
42  const stdair::Date_T&);
43 
47  static stdair::BookingClassSellUpCurveMap_T
48  computeSellUpFactorCurves (const stdair::FRAT5Curve_T&,
49  const stdair::BookingClassList_T&);
50 
54  static stdair::BookingClassDispatchingCurveMap_T
55  computeDispatchingFactorCurves (const stdair::FRAT5Curve_T&,
56  const stdair::BookingClassList_T&);
57 
61  static void
62  dispatchDemandForecast (const stdair::BookingClassDispatchingCurveMap_T&,
63  const stdair::MeanValue_T&,
64  const stdair::StdDevValue_T&,
65  const stdair::DTD_T&);
66 
70  static void
71  dispatchDemandForecastForFA (const stdair::BookingClassSellUpCurveMap_T&,
72  const stdair::MeanValue_T&,
73  const stdair::StdDevValue_T&,
74  const stdair::DTD_T&);
75  };
76 
77 }
78 
79 #endif // __RMOL_BOM_UTILITIES_HPP