Class modeling the distribution of values that can be taken by a continuous attribute. More...
#include <trademgen/basic/ContinuousAttributeLite.hpp>
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) | |
ContinuousAttributeLite & | operator= (const ContinuousAttributeLite &iCAL) |
virtual | ~ContinuousAttributeLite () |
Class modeling the distribution of values that can be taken by a continuous attribute.
Definition at line 26 of file ContinuousAttributeLite.hpp.
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.
|
inline |
Constructor.
Definition at line 157 of file ContinuousAttributeLite.hpp.
|
inline |
Copy constructor.
Definition at line 165 of file ContinuousAttributeLite.hpp.
|
inlinevirtual |
Destructor.
Definition at line 184 of file ContinuousAttributeLite.hpp.
|
inline |
Get value from inverse cumulative distribution.
Definition at line 39 of file ContinuousAttributeLite.hpp.
Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestPoissonProcess(), TRADEMGEN::DemandStream::generateTimeOfRequestStatisticsOrder(), TRADEMGEN::DemandStream::generateValueOfTime(), and TRADEMGEN::DemandStream::generateWTP().
|
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().
|
inline |
Get the upper bound.
Definition at line 116 of file ContinuousAttributeLite.hpp.
Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestPoissonProcess().
|
inline |
Display cumulative distribution.
Definition at line 135 of file ContinuousAttributeLite.hpp.
Referenced by TRADEMGEN::DemandCharacteristics::describe().
|
inline |
Copy operator.
Definition at line 174 of file ContinuousAttributeLite.hpp.