1.00.0
C++ library of Revenue Management and Optimisation classes and functions
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Pages
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
Generated on Tue Dec 25 2012 17:52:21 for RMOL by
1.8.1.1