$treeview $search $mathjax
00001 #ifndef __RMOL_COMMAND_FORECASTER_HPP 00002 #define __RMOL_COMMAND_FORECASTER_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <map> 00009 // StdAir 00010 #include <stdair/stdair_inventory_types.hpp> 00011 // RMOL 00012 #include <rmol/RMOL_Types.hpp> 00013 00014 // Forward declarations 00015 namespace stdair { 00016 class FlightDate; 00017 class SegmentCabin; 00018 } 00019 00020 namespace RMOL { 00022 class Forecaster { 00023 public: 00027 static bool forecast (stdair::FlightDate&, const stdair::DateTime_T&, 00028 const stdair::UnconstrainingMethod&, 00029 const stdair::ForecastingMethod&); 00030 00031 private: 00035 static bool forecast (stdair::SegmentCabin&, const stdair::Date_T&, 00036 const stdair::UnconstrainingMethod&, 00037 const stdair::ForecastingMethod&); 00038 00042 static void setDemandForecastsToZero (const stdair::SegmentCabin&); 00043 00044 }; 00045 } 00046 #endif // __RMOL_COMMAND_FORECASTER_HPP