1.00.10
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
10
#include <
rmol/bom/HistoricalBookingHolder.hpp
>
11
#include <
rmol/bom/EMDetruncator.hpp
>
12
#include <
rmol/command/Detruncator.hpp
>
13
14
namespace
RMOL
{
15
// ////////////////////////////////////////////////////////////////////
16
void
Detruncator::
17
unconstrain
(
HistoricalBookingHolder
& ioHBHolder,
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
EMDetruncator.hpp
HistoricalBookingHolder.hpp
Detruncator.hpp
RMOL
Definition
BasConst.cpp:7
RMOL::EMDetruncator::unconstrain
static void unconstrain(HistoricalBookingHolder &)
Definition
EMDetruncator.cpp:20
RMOL::HistoricalBookingHolder
Definition
HistoricalBookingHolder.hpp:23
RMOL::Detruncator::unconstrain
static void unconstrain(HistoricalBookingHolder &, const stdair::UnconstrainingMethod &)
Definition
Detruncator.cpp:17
Generated for RMOL by
1.12.0