$treeview $search $mathjax
00001 #ifndef __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_HPP 00002 #define __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_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 SegmentCabin; 00017 } 00018 00019 namespace RMOL { 00021 class MarginalRevenueTransformation { 00022 public: 00026 static bool prepareDemandInput (stdair::SegmentCabin&); 00027 00028 private: 00032 static void buildNestedConvexHull (stdair::SegmentCabin&); 00033 00037 static void buildConvexHull (stdair::SegmentCabin&); 00038 00042 static bool adjustYieldAndDemand (stdair::SegmentCabin&); 00043 }; 00044 } 00045 #endif // __RMOL_COMMAND_MARGINALREVENUETRANSFORMATION_HPP