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

#include <trademgen/basic/ContinuousAttribute.hpp>

List of all members.

Public Types

typedef std::multimap< T,
DictionaryKey_T
ContinuousDistribution_T
typedef std::multimap
< DictionaryKey_T, T > 
ContinuousInverseDistribution_T

Public Member Functions

const T getValue (const stdair::Probability_T &iCumulativeProbability) const
const std::string displayCumulativeDistribution () const
const std::string displayInverseCumulativeDistribution () const
 ContinuousAttribute ()
 ContinuousAttribute (const ContinuousDistribution_T &iCumulativeDistribution)
 ContinuousAttribute (const ContinuousAttribute &iContinuousAttribute)
virtual ~ContinuousAttribute ()
void determineInverseCumulativeDistributionFromCumulativeDistribution ()

Detailed Description

template<class T>
struct TRADEMGEN::ContinuousAttribute< T >

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

Definition at line 21 of file ContinuousAttribute.hpp.


Member Typedef Documentation

template<class T >
typedef std::multimap<T, DictionaryKey_T> TRADEMGEN::ContinuousAttribute< T >::ContinuousDistribution_T

Definition at line 26 of file ContinuousAttribute.hpp.

template<class T >
typedef std::multimap<DictionaryKey_T, T> TRADEMGEN::ContinuousAttribute< T >::ContinuousInverseDistribution_T

Definition at line 27 of file ContinuousAttribute.hpp.


Constructor & Destructor Documentation

template<class T >
TRADEMGEN::ContinuousAttribute< T >::ContinuousAttribute ( )
inline

Constructor by default

Definition at line 113 of file ContinuousAttribute.hpp.

template<class T >
TRADEMGEN::ContinuousAttribute< T >::ContinuousAttribute ( const ContinuousAttribute< T > &  iContinuousAttribute)
inline

Copy constructor

Definition at line 122 of file ContinuousAttribute.hpp.

template<class T >
virtual TRADEMGEN::ContinuousAttribute< T >::~ContinuousAttribute ( )
inlinevirtual

Destructor

Definition at line 128 of file ContinuousAttribute.hpp.


Member Function Documentation

template<class T >
const T TRADEMGEN::ContinuousAttribute< T >::getValue ( const stdair::Probability_T &  iCumulativeProbability) const
inline

Get value from inverse cumulative distribution.

Definition at line 52 of file ContinuousAttribute.hpp.

References TRADEMGEN::DictionaryManager::keyToValue(), and TRADEMGEN::DictionaryManager::valueToKey().

template<class T >
const std::string TRADEMGEN::ContinuousAttribute< T >::displayCumulativeDistribution ( ) const
inline

Display cumulative distribution

Definition at line 83 of file ContinuousAttribute.hpp.

References TRADEMGEN::DictionaryManager::keyToValue().

template<class T >
const std::string TRADEMGEN::ContinuousAttribute< T >::displayInverseCumulativeDistribution ( ) const
inline

Display inverse cumulative distribution

Definition at line 99 of file ContinuousAttribute.hpp.

References TRADEMGEN::DictionaryManager::keyToValue().

template<class T >
void TRADEMGEN::ContinuousAttribute< T >::determineInverseCumulativeDistributionFromCumulativeDistribution ( )
inline

Determine inverse cumulative distribution from cumulative distribution (initialisation).

Definition at line 132 of file ContinuousAttribute.hpp.

Referenced by TRADEMGEN::ContinuousAttribute< T >::ContinuousAttribute().


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