$treeview $search $mathjax
TravelCCM Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

TRAVELCCM::HardRestrictionModel Class Reference

#include <travelccm/bom/HardRestrictionModel.hpp>

List of all members.


Static Public Member Functions

static const stdair::TravelSolutionStruct * chooseTravelSolution (stdair::TravelSolutionList_T &, const stdair::BookingRequestStruct &)

Detailed Description

Class implementing the customer choice of cheapest solution.

Definition at line 21 of file HardRestrictionModel.hpp.


Member Function Documentation

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().


The documentation for this class was generated from the following files: