$treeview $search $mathjax
#include <travelccm/bom/PriceOrientedModel.hpp>
Inheritance diagram for TRAVELCCM::PriceOrientedModel:
Public Member Functions | |
const stdair::TravelSolutionStruct * | chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &) const |
PriceOrientedModel () | |
~PriceOrientedModel () | |
Static Public Member Functions | |
static const CustomerChoiceModel * | create (const stdair::PassengerChoiceModel::EN_PassengerChoiceModel &) |
Definition at line 15 of file PriceOrientedModel.hpp.
TRAVELCCM::PriceOrientedModel::PriceOrientedModel | ( | ) |
Default Constructor.
Definition at line 24 of file PriceOrientedModel.cpp.
TRAVELCCM::PriceOrientedModel::~PriceOrientedModel | ( | ) |
Destructor.
Definition at line 29 of file PriceOrientedModel.cpp.
const stdair::TravelSolutionStruct * TRAVELCCM::PriceOrientedModel::chooseTravelSolution | ( | stdair::TravelSolutionList_T & | , | |
const stdair::BookingRequestStruct & | ||||
) | const [virtual] |
Choose the cheapest 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).
Implements TRAVELCCM::CustomerChoiceModel.
Definition at line 34 of file PriceOrientedModel.cpp.
const CustomerChoiceModel * TRAVELCCM::CustomerChoiceModel::create | ( | const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & | ) | [static, inherited] |
Return the Customer Choice Model object described by the given enum type.
Definition at line 36 of file CustomerChoiceModel.cpp.
Referenced by TRAVELCCM::ChoiceManager::chooseTravelSolution().