Class representing various configuration parameters (e.g., revenue management methods such EMSRb or Monte-Carlo) for a given airline for the simulation. More...
#include <stdair/bom/AirlineFeature.hpp>
Public Types | |
typedef AirlineFeatureKey | Key_T |
Protected Member Functions | |
AirlineFeature (const Key_T &) | |
virtual | ~AirlineFeature () |
Friends | |
class | FacBom |
class | FacCloneBom |
class | FacBomManager |
Class representing various configuration parameters (e.g., revenue management methods such EMSRb or Monte-Carlo) for a given airline for the simulation.
Definition at line 25 of file AirlineFeature.hpp.
Definition allowing to retrieve the associated BOM key type.
Definition at line 35 of file AirlineFeature.hpp.
|
protected |
Main constructor.
Definition at line 14 of file AirlineFeature.cpp.
|
protectedvirtual |
Destructor.
Definition at line 34 of file AirlineFeature.cpp.
|
inlinevirtual |
Dump a Business Object into an output stream.
ostream& | the output stream. |
Implements stdair::BomAbstract.
Definition at line 44 of file AirlineFeature.hpp.
References toString().
|
inlinevirtual |
Read a Business Object from an input stream.
istream& | the input stream. |
Implements stdair::BomAbstract.
Definition at line 53 of file AirlineFeature.hpp.
|
virtual |
Get the serialised version of the Business Object.
Implements stdair::BomAbstract.
Definition at line 55 of file AirlineFeature.cpp.
References _forecastingMethod, _historicalDataLimit, _optimisationMethod, _partnershipTechnique, _preOptimisationMethod, _unconstrainingMethod, and describeKey().
Referenced by toStream().
|
inline |
Get a string describing the key.
Definition at line 64 of file AirlineFeature.hpp.
References _key, and stdair::AirlineFeatureKey::toString().
Referenced by toString().
|
inline |
Get the airline feature primary key (airline code).
Definition at line 73 of file AirlineFeature.hpp.
References _key.
|
inline |
Get a reference on the parent object instance.
Definition at line 80 of file AirlineFeature.hpp.
References _parent.
|
inline |
Get a reference on the children holder.
Definition at line 87 of file AirlineFeature.hpp.
References _holderMap.
|
inline |
Get the forecasting method.
Definition at line 94 of file AirlineFeature.hpp.
References _forecastingMethod, and stdair::ForecastingMethod::getMethod().
Referenced by stdair::Inventory::getForecastingMethod().
|
inline |
Get the unconstraining method.
Definition at line 101 of file AirlineFeature.hpp.
References _unconstrainingMethod, and stdair::UnconstrainingMethod::getMethod().
Referenced by stdair::Inventory::getUnconstrainingMethod().
|
inline |
Get the partnership technique.
Definition at line 108 of file AirlineFeature.hpp.
References _partnershipTechnique, and stdair::PartnershipTechnique::getTechnique().
Referenced by stdair::Inventory::getPartnershipTechnique().
|
inline |
Get the pre-optimisation method.
Definition at line 115 of file AirlineFeature.hpp.
References _preOptimisationMethod, and stdair::PreOptimisationMethod::getMethod().
Referenced by stdair::Inventory::getPreOptimisationMethod().
|
inline |
Get the optimisation method.
Definition at line 122 of file AirlineFeature.hpp.
References _optimisationMethod, and stdair::OptimisationMethod::getMethod().
Referenced by stdair::Inventory::getOptimisationMethod().
void stdair::AirlineFeature::init | ( | const ForecastingMethod & | iForecastingMethod, |
const UnconstrainingMethod & | iUnconstrainingMethod, | ||
const PreOptimisationMethod & | iPreOptimisationMethod, | ||
const OptimisationMethod & | iOptimisationMethod, | ||
const HistoricalDataLimit_T & | iHistoricalDataLimit, | ||
const ControlMode_T & | iControlMode, | ||
const PartnershipTechnique & | iPartnershipTechnique | ||
) |
Initialization method.
const | ForecastingMethod& Forecasting method. |
const | UnconstrainingMethod& Unconstraining method. |
const | PreOptimisationMethod& Pre-optimisation method. |
const | OptimisationMethodGet& Optimisation method. |
const | HistoricalDataLimit_T& Historical Data Limit |
const | ControlMode_T& Control Mode |
const | PartnershipTechnique& Partnership method. |
Definition at line 38 of file AirlineFeature.cpp.
References _controlMode, _forecastingMethod, _historicalDataLimit, _optimisationMethod, _partnershipTechnique, _preOptimisationMethod, and _unconstrainingMethod.
|
inline |
Set the forecasting method.
Definition at line 150 of file AirlineFeature.hpp.
References _forecastingMethod.
Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().
|
inline |
Set the unconstraining method.
Definition at line 157 of file AirlineFeature.hpp.
References _unconstrainingMethod.
Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().
|
inline |
Set the partnership technique.
Definition at line 164 of file AirlineFeature.hpp.
References _partnershipTechnique.
Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().
|
inline |
Set the pre-optimisation method.
Definition at line 171 of file AirlineFeature.hpp.
References _preOptimisationMethod.
Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().
|
inline |
Set the optimisation method.
Definition at line 178 of file AirlineFeature.hpp.
References _optimisationMethod.
Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().
|
friend |
Definition at line 26 of file AirlineFeature.hpp.
|
friend |
Definition at line 27 of file AirlineFeature.hpp.
|
friend |
Definition at line 28 of file AirlineFeature.hpp.
|
protected |
Primary key (date period).
Definition at line 209 of file AirlineFeature.hpp.
Referenced by describeKey(), and getKey().
|
protected |
Pointer on the parent class.
Definition at line 214 of file AirlineFeature.hpp.
Referenced by getParent().
|
protected |
Map holding the children.
Definition at line 219 of file AirlineFeature.hpp.
Referenced by getHolderMap().
|
protected |
The type of forecaster.
Definition at line 224 of file AirlineFeature.hpp.
Referenced by getForecastingMethod(), init(), setForecastingMethod(), and toString().
|
protected |
The size of the moving average window.
Definition at line 229 of file AirlineFeature.hpp.
Referenced by init(), and toString().
|
protected |
The type of inventory control.
Definition at line 234 of file AirlineFeature.hpp.
Referenced by init().
|
protected |
The type of unconstraining method.
Definition at line 239 of file AirlineFeature.hpp.
Referenced by getUnconstrainingMethod(), init(), setUnconstrainingMethod(), and toString().
|
protected |
The type of pre-optimisation method.
Definition at line 244 of file AirlineFeature.hpp.
Referenced by getPreOptimisationMethod(), init(), setPreOptimisationMethod(), and toString().
|
protected |
The type of optimisation method.
Definition at line 249 of file AirlineFeature.hpp.
Referenced by getOptimisationMethod(), init(), setOptimisationMethod(), and toString().
|
protected |
The type of partnership technique.
Definition at line 254 of file AirlineFeature.hpp.
Referenced by getPartnershipTechnique(), init(), setPartnershipTechnique(), and toString().