37 #include "CellCycleTimesGenerator.hpp"
82 EXCEPTION(
"Trying to generate the cell cycle times twice. Need to call CellCycleTimesGenerator::Destroy() first.");
86 unsigned number_stored_times = 15000u;
92 for (
unsigned index = 0; index < 15000u; index++)
106 EXCEPTION(
"You cannot reset the rate after cell cycle times are created.");
123 EXCEPTION(
"When using FixedSequenceCellCycleModel one must call CellCycleTimesGenerator::Instance()->GenerateCellCycleTimeSequence()"
124 " before the start of the simulation.");
130 return new_cell_cycle_time;
static CellCycleTimesGenerator * mpInstance
#define EXCEPTION(message)
void Reseed(unsigned seed)
static CellCycleTimesGenerator * Instance()
std::vector< double > mCellCycleTimes
void SetRandomSeed(unsigned randomSeed)
void SetRate(double rate)
static RandomNumberGenerator * Instance()
double ExponentialRandomDeviate(double scale)
double GetNextCellCycleTime()
void GenerateCellCycleTimeSequence()
CellCycleTimesGenerator()