Class modeling the distribution of a demand type. More...
#include <trademgen/basic/DemandDistribution.hpp>
Public Member Functions | |
DemandDistribution (const stdair::NbOfRequests_T &iMean, const stdair::StdDevValue_T &iStdDev) | |
DemandDistribution () | |
DemandDistribution (const DemandDistribution &) | |
~DemandDistribution () | |
void | fromStream (std::istream &ioIn) |
const std::string | describe () const |
std::string | display () const |
Public Attributes | |
stdair::NbOfRequests_T | _meanNumberOfRequests |
stdair::StdDevValue_T | _stdDevNumberOfRequests |
Class modeling the distribution of a demand type.
Definition at line 20 of file DemandDistribution.hpp.
TRADEMGEN::DemandDistribution::DemandDistribution | ( | const stdair::NbOfRequests_T & | iMean, |
const stdair::StdDevValue_T & | iStdDev | ||
) |
Constructor.
Definition at line 15 of file DemandDistribution.cpp.
TRADEMGEN::DemandDistribution::DemandDistribution | ( | ) |
Default constructor.
Definition at line 22 of file DemandDistribution.cpp.
TRADEMGEN::DemandDistribution::DemandDistribution | ( | const DemandDistribution & | iDemandDistribution | ) |
Copy constructor.
Definition at line 31 of file DemandDistribution.cpp.
TRADEMGEN::DemandDistribution::~DemandDistribution | ( | ) |
Destructor.
Definition at line 26 of file DemandDistribution.cpp.
void TRADEMGEN::DemandDistribution::fromStream | ( | std::istream & | ioIn | ) |
Read a Business Object from an input stream.
istream& | the input stream. |
Definition at line 37 of file DemandDistribution.cpp.
const std::string TRADEMGEN::DemandDistribution::describe | ( | ) | const |
Display of the structure.
Definition at line 41 of file DemandDistribution.cpp.
References _meanNumberOfRequests, and _stdDevNumberOfRequests.
Referenced by display(), and TRADEMGEN::DemandStream::display().
std::string TRADEMGEN::DemandDistribution::display | ( | ) | const |
Display demand distribution.
Definition at line 49 of file DemandDistribution.cpp.
References describe().
stdair::NbOfRequests_T TRADEMGEN::DemandDistribution::_meanNumberOfRequests |
Mean number of requests.
Definition at line 67 of file DemandDistribution.hpp.
Referenced by describe(), TRADEMGEN::DemandStream::generateTimeOfRequestPoissonProcess(), and TRADEMGEN::DemandStream::getMeanNumberOfRequests().
stdair::StdDevValue_T TRADEMGEN::DemandDistribution::_stdDevNumberOfRequests |
Standard deviation of number of requests.
Definition at line 72 of file DemandDistribution.hpp.
Referenced by describe(), and TRADEMGEN::DemandStream::getStdDevNumberOfRequests().