$treeview $search $mathjax
#include <travelccm/bom/HardRestrictionModel.hpp>
Static Public Member Functions | |
static const stdair::TravelSolutionStruct * | chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &) |
Definition at line 21 of file HardRestrictionModel.hpp.
const stdair::TravelSolutionStruct * TRAVELCCM::HardRestrictionModel::chooseTravelSolution | ( | stdair::TravelSolutionList_T & | , | |
const stdair::BookingRequestStruct & | ||||
) | [static] |
Choose the cheapest travel solution and the fare option within the given list of travel solutions.
The fare option must satisfy the hard restriction/constrain such as change fees and non refundable.
The returned pointer will be NULL if no travel solution is chosen (e.g. Willingness-To-Pay too low).
Definition at line 21 of file HardRestrictionModel.cpp.
Referenced by TRAVELCCM::ChoiceManager::chooseTravelSolution().