TravelCCM Logo  1.00.9
C++ Travel Customer Choice Model Library
Loading...
Searching...
No Matches
TRAVELCCM::ChoiceManager Class Reference

#include <travelccm/command/ChoiceManager.hpp>

Static Public Member Functions

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

Detailed Description

Class managing the customer choice model/algorithm.

Definition at line 22 of file ChoiceManager.hpp.

Member Function Documentation

◆ chooseTravelSolution()

const stdair::TravelSolutionStruct * TRAVELCCM::ChoiceManager::chooseTravelSolution ( stdair::TravelSolutionList_T & ioTravelSolutionList,
const stdair::BookingRequestStruct & iBookingRequest,
const stdair::PassengerChoiceModel::EN_PassengerChoiceModel & iPassengerChoiceModel )
static

Choose the 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).

Definition at line 16 of file ChoiceManager.cpp.

References TRAVELCCM::CustomerChoiceModel::chooseTravelSolution(), and TRAVELCCM::CustomerChoiceModel::create().

Referenced by TRAVELCCM::TRAVELCCM_Service::chooseTravelSolution().


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