TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
TRADEMGEN::ContinuousAttributeLite< T > Struct Template Reference

Class modeling the distribution of values that can be taken by a continuous attribute. More...

#include <trademgen/basic/ContinuousAttributeLite.hpp>

List of all members.

Public Types

typedef std::map< T,
stdair::Probability_T > 
ContinuousDistribution_T

Public Member Functions

const T getValue (const stdair::Probability_T &iCumulativeProbability) const
const double getDerivativeValue (const T iKey) const
const T getUpperBound (const T iKey) const
const std::string displayCumulativeDistribution () const
 ContinuousAttributeLite (const ContinuousDistribution_T &iValueMap)
 ContinuousAttributeLite (const ContinuousAttributeLite &iCAL)
ContinuousAttributeLiteoperator= (const ContinuousAttributeLite &iCAL)
virtual ~ContinuousAttributeLite ()

Detailed Description

template<typename T>
struct TRADEMGEN::ContinuousAttributeLite< T >

Class modeling the distribution of values that can be taken by a continuous attribute.

Definition at line 26 of file ContinuousAttributeLite.hpp.


Member Typedef Documentation

template<typename T>
typedef std::map<T, stdair::Probability_T> TRADEMGEN::ContinuousAttributeLite< T >::ContinuousDistribution_T

Type for the probability mass function.

Definition at line 32 of file ContinuousAttributeLite.hpp.


Constructor & Destructor Documentation

template<typename T>
TRADEMGEN::ContinuousAttributeLite< T >::ContinuousAttributeLite ( const ContinuousDistribution_T iValueMap)
inline

Constructor.

Definition at line 157 of file ContinuousAttributeLite.hpp.

template<typename T>
TRADEMGEN::ContinuousAttributeLite< T >::ContinuousAttributeLite ( const ContinuousAttributeLite< T > &  iCAL)
inline

Copy constructor.

Definition at line 165 of file ContinuousAttributeLite.hpp.

template<typename T>
virtual TRADEMGEN::ContinuousAttributeLite< T >::~ContinuousAttributeLite ( )
inlinevirtual

Destructor.

Definition at line 184 of file ContinuousAttributeLite.hpp.


Member Function Documentation

template<typename T>
const T TRADEMGEN::ContinuousAttributeLite< T >::getValue ( const stdair::Probability_T &  iCumulativeProbability) const
inline
template<typename T>
const double TRADEMGEN::ContinuousAttributeLite< T >::getDerivativeValue ( const T  iKey) const
inline

Get the value of the derivative function in a key point.

Definition at line 82 of file ContinuousAttributeLite.hpp.

Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestPoissonProcess().

template<typename T>
const T TRADEMGEN::ContinuousAttributeLite< T >::getUpperBound ( const T  iKey) const
inline

Get the upper bound.

Definition at line 116 of file ContinuousAttributeLite.hpp.

Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestPoissonProcess().

template<typename T>
const std::string TRADEMGEN::ContinuousAttributeLite< T >::displayCumulativeDistribution ( ) const
inline

Display cumulative distribution.

Definition at line 135 of file ContinuousAttributeLite.hpp.

Referenced by TRADEMGEN::DemandCharacteristics::describe().

template<typename T>
ContinuousAttributeLite& TRADEMGEN::ContinuousAttributeLite< T >::operator= ( const ContinuousAttributeLite< T > &  iCAL)
inline

Copy operator.

Definition at line 174 of file ContinuousAttributeLite.hpp.


The documentation for this struct was generated from the following file: