1 #ifndef __TRADEMGEN_BAS_RANDOM_GENERATION_CONTEXT_HPP 2 #define __TRADEMGEN_BAS_RANDOM_GENERATION_CONTEXT_HPP 11 #include <stdair/stdair_basic_types.hpp> 12 #include <stdair/stdair_maths_types.hpp> 13 #include <stdair/basic/StructAbstract.hpp> 27 return _numberOfRequestsGeneratedSoFar;
35 return _cumulativeProbabilitySoFar;
44 _numberOfRequestsGeneratedSoFar = iCount;
52 _cumulativeProbabilitySoFar = iProb;
100 stdair::Count_T _numberOfRequestsGeneratedSoFar;
106 stdair::Probability_T _cumulativeProbabilitySoFar;
110 #endif // __STDAIR_BAS_RANDOM_GENERATION_CONTEXT_HPP RandomGenerationContext()
const std::string describe() const
void setCumulativeProbabilitySoFar(const stdair::Probability_T &iProb)
~RandomGenerationContext()
const stdair::Probability_T & getCumulativeProbabilitySoFar() const
void incrementGeneratedRequestsCounter()
const stdair::Count_T & getNumberOfRequestsGeneratedSoFar() const
void setNumberOfRequestsGeneratedSoFar(const stdair::Count_T &iCount)