0.5.3
C++ Travel Customer Choice Model Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
ChoiceManager.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <cassert>
6
// StdAir
7
#include <stdair/bom/TravelSolutionStruct.hpp>
8
#include <stdair/bom/BookingRequestStruct.hpp>
9
// TravelCCM
10
#include <
travelccm/bom/PriceOrientedModel.hpp
>
11
#include <
travelccm/command/ChoiceManager.hpp
>
12
13
namespace
TRAVELCCM {
14
15
// ////////////////////////////////////////////////////////////////////
16
const
stdair::TravelSolutionStruct*
ChoiceManager::
17
chooseTravelSolution
(stdair::TravelSolutionList_T& ioTravelSolutionList,
18
const
stdair::BookingRequestStruct& iBookingRequest) {
19
// Return the cheapest solution.
20
const
stdair::TravelSolutionStruct* oTravelSolution_ptr =
21
PriceOrientedModel::chooseTravelSolution
(ioTravelSolutionList,
22
iBookingRequest);
23
return
oTravelSolution_ptr;
24
}
25
26
}
Generated on Thu Oct 25 2012 15:58:08 for TravelCCM by
1.8.1.2