TravelCCM Logo  1.00.1
C++ Travel Customer Choice Model Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
TRAVELCCM::HardRestrictionModel Class Reference

#include <travelccm/bom/HardRestrictionModel.hpp>

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 &  ioTSList,
const stdair::BookingRequestStruct &  iBookingRequest 
)
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: