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;
#define EXCEPTION(message)
void GenerateCellCycleTimeSequence()
std::vector< double > mCellCycleTimes
void SetRate(double rate)
void SetRandomSeed(unsigned randomSeed)
CellCycleTimesGenerator()
static CellCycleTimesGenerator * mpInstance
static CellCycleTimesGenerator * Instance()
double GetNextCellCycleTime()
static RandomNumberGenerator * Instance()
void Reseed(unsigned seed)
double ExponentialRandomDeviate(double scale)