$treeview $search $mathjax
#include <trademgen/basic/RandomGenerationContext.hpp>
Inheritance diagram for TRADEMGEN::RandomGenerationContext:
Public Member Functions | |
const stdair::Count_T & | getNumberOfRequestsGeneratedSoFar () const |
const stdair::Probability_T & | getCumulativeProbabilitySoFar () const |
void | setNumberOfRequestsGeneratedSoFar (const stdair::Count_T &iCount) |
void | setCumulativeProbabilitySoFar (const stdair::Probability_T &iProb) |
RandomGenerationContext () | |
RandomGenerationContext (const RandomGenerationContext &) | |
~RandomGenerationContext () | |
void | incrementGeneratedRequestsCounter () |
void | reset () |
const std::string | describe () const |
Definition at line 20 of file RandomGenerationContext.hpp.
TRADEMGEN::RandomGenerationContext::RandomGenerationContext | ( | ) |
Default constructor.
Definition at line 13 of file RandomGenerationContext.cpp.
TRADEMGEN::RandomGenerationContext::RandomGenerationContext | ( | const RandomGenerationContext & | ) |
Default constructors.
Definition at line 20 of file RandomGenerationContext.cpp.
TRADEMGEN::RandomGenerationContext::~RandomGenerationContext | ( | ) |
Destructor.
Definition at line 26 of file RandomGenerationContext.cpp.
const stdair::Count_T& TRADEMGEN::RandomGenerationContext::getNumberOfRequestsGeneratedSoFar | ( | ) | const [inline] |
Get the number of requests generated so far.
Definition at line 26 of file RandomGenerationContext.hpp.
Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestStatisticsOrder(), TRADEMGEN::DemandStream::getNumberOfRequestsGeneratedSoFar(), and TRADEMGEN::DemandStream::stillHavingRequestsToBeGenerated().
const stdair::Probability_T& TRADEMGEN::RandomGenerationContext::getCumulativeProbabilitySoFar | ( | ) | const [inline] |
Get the cumulative probability in arrival pattern for last request generated so far (needed for sequential generation).
Definition at line 34 of file RandomGenerationContext.hpp.
Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestStatisticsOrder().
void TRADEMGEN::RandomGenerationContext::setNumberOfRequestsGeneratedSoFar | ( | const stdair::Count_T & | iCount | ) | [inline] |
Set the number of requests generated so far.
Definition at line 43 of file RandomGenerationContext.hpp.
Referenced by TRADEMGEN::DemandStream::setNumberOfRequestsGeneratedSoFar().
void TRADEMGEN::RandomGenerationContext::setCumulativeProbabilitySoFar | ( | const stdair::Probability_T & | iProb | ) | [inline] |
Set the cumulative probability in arrival pattern for last request generated so far (needed for sequential generation).
Definition at line 51 of file RandomGenerationContext.hpp.
Referenced by TRADEMGEN::DemandStream::generateTimeOfRequestStatisticsOrder().
void TRADEMGEN::RandomGenerationContext::incrementGeneratedRequestsCounter | ( | ) |
Increment counter of requests generated so far.
Definition at line 38 of file RandomGenerationContext.cpp.
Referenced by TRADEMGEN::DemandStream::incrementGeneratedRequestsCounter().
void TRADEMGEN::RandomGenerationContext::reset | ( | ) |
Reset the counters.
Definition at line 43 of file RandomGenerationContext.cpp.
Referenced by TRADEMGEN::DemandStream::reset().
const std::string TRADEMGEN::RandomGenerationContext::describe | ( | ) | const |
Give a description of the structure (for display purposes).
Definition at line 30 of file RandomGenerationContext.cpp.