RMOL Logo  1.00.13
C++ library of Revenue Management and Optimisation classes and functions
Loading...
Searching...
No Matches
Detruncator.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <cassert>
6// StdAir
7#include <stdair/basic/UnconstrainingMethod.hpp>
8#include <stdair/service/Logger.hpp>
9// RMOL
13
14namespace RMOL {
15 // ////////////////////////////////////////////////////////////////////
18 const stdair::UnconstrainingMethod& iMethod) {
19 const stdair::UnconstrainingMethod::EN_UnconstrainingMethod& lUnconstrainingMethod =
20 iMethod.getMethod();
21 switch (lUnconstrainingMethod) {
22 case stdair::UnconstrainingMethod::EM: {
23 EMDetruncator::unconstrain (ioHBHolder);
24 break;
25 }
26 default: {
27 assert (false);
28 break;
29 }
30 }
31 }
32}
33
static void unconstrain(HistoricalBookingHolder &)
static void unconstrain(HistoricalBookingHolder &, const stdair::UnconstrainingMethod &)