$treeview $search $mathjax
#include <travelccm/command/ChoiceManager.hpp>
Static Public Member Functions | |
static const stdair::TravelSolutionStruct * | chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &, const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &) |
Class managing the customer choice model/algorithm.
Definition at line 22 of file ChoiceManager.hpp.
const stdair::TravelSolutionStruct * TRAVELCCM::ChoiceManager::chooseTravelSolution | ( | stdair::TravelSolutionList_T & | ioTravelSolutionList, | |
const stdair::BookingRequestStruct & | iBookingRequest, | |||
const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & | iPassengerChoiceModel | |||
) | [static] |
Choose the travel solution and the fare option within the given list of travel solutions.
The returned pointer will be NULL if no travel solution is chosen (e.g. Willingness-To-Pay too low).
Definition at line 19 of file ChoiceManager.cpp.