RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
MarginalRevenueTransformation.hpp
Go to the documentation of this file.
1 #ifndef __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_HPP
2 #define __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_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 SegmentCabin;
17 }
18 
19 namespace RMOL {
22  public:
26  static bool prepareDemandInput (stdair::SegmentCabin&);
27 
28  private:
32  static void buildNestedConvexHull (stdair::SegmentCabin&);
33 
37  static void buildConvexHull (stdair::SegmentCabin&);
38 
42  static bool adjustYieldAndDemand (stdair::SegmentCabin&);
43  };
44 }
45 #endif // __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_HPP