$treeview $search $mathjax
#include <travelccm/bom/HybridModel.hpp>
Static Public Member Functions | |
static const stdair::TravelSolutionStruct * | chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &) |
Class implementing the customer choice of cheapest solution within disutility.
Definition at line 22 of file HybridModel.hpp.
const stdair::TravelSolutionStruct * TRAVELCCM::HybridModel::chooseTravelSolution | ( | stdair::TravelSolutionList_T & | ioTSList, | |
const stdair::BookingRequestStruct & | iBookingRequest | |||
) | [static] |
Choose the cheapest travel solution and the fare option within the given list of travel solutions.
Fare options which do not satisfy the restrictions of the customer have a disutility for each unsatisfied restriction.
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 HybridModel.cpp.