RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
Forecaster.hpp
Go to the documentation of this file.
1 #ifndef __RMOL_COMMAND_FORECASTER_HPP
2 #define __RMOL_COMMAND_FORECASTER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <map>
9 // StdAir
10 #include <stdair/stdair_inventory_types.hpp>
11 // RMOL
12 #include <rmol/RMOL_Types.hpp>
13 
14 // Forward declarations
15 namespace stdair {
16  class FlightDate;
17  class SegmentCabin;
18 }
19 
20 namespace RMOL {
22  class Forecaster {
23  public:
27  static bool forecast (stdair::FlightDate&, const stdair::DateTime_T&,
28  const stdair::UnconstrainingMethod&,
29  const stdair::ForecastingMethod&);
30 
31  private:
35  static bool forecast (stdair::SegmentCabin&, const stdair::Date_T&,
36  const stdair::UnconstrainingMethod&,
37  const stdair::ForecastingMethod&);
38 
42  static void setDemandForecastsToZero (const stdair::SegmentCabin&);
43 
44  };
45 }
46 #endif // __RMOL_COMMAND_FORECASTER_HPP