#include <StochasticDurationCellCycleModel.hpp>
Inherits AbstractSimpleCellCycleModel.
Public Member Functions | |
StochasticDurationCellCycleModel () | |
void | SetG1Duration () |
AbstractCellCycleModel * | CreateCellCycleModel () |
virtual void | OutputCellCycleModelParameters (out_stream &rParamsFile) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | TestSimpleCellCycleModels |
class | boost::serialization::access |
A stochastic cell-cycle model where cells divide with a stochastic G1 phase duration.
For proliferative cells, the G1 phase duration is drawn from a uniform distribution on [T, T+2], where the parameter T depends on cell proliferative type as follows: if the cell has StemCellProliferativeType, then T is given by GetStemCellG1Duration(); and if the cell has TransitCellProliferativeType, then T is given by GetTransitCellG1Duration().
If the cell has DifferentiatedCellProliferativeType, then the G1 phase duration is set to be infinite, so that the cell will never divide.
Definition at line 54 of file StochasticDurationCellCycleModel.hpp.
StochasticDurationCellCycleModel::StochasticDurationCellCycleModel | ( | ) |
Constructor - just a default, mBirthTime is now set in the AbstractCellCycleModel class. mG1Duration is set very high, it is set for the individual cells when InitialiseDaughterCell is called
Definition at line 42 of file StochasticDurationCellCycleModel.cpp.
Referenced by CreateCellCycleModel().
AbstractCellCycleModel * StochasticDurationCellCycleModel::CreateCellCycleModel | ( | ) | [virtual] |
Overridden builder method to create new copies of this cell-cycle model.
Implements AbstractCellCycleModel.
Definition at line 47 of file StochasticDurationCellCycleModel.cpp.
References AbstractCellCycleModel::mBirthTime, AbstractCellCycleModel::mG2Duration, AbstractCellCycleModel::mMDuration, AbstractCellCycleModel::mMinimumGapDuration, AbstractCellCycleModel::mSDuration, AbstractCellCycleModel::mStemCellG1Duration, AbstractCellCycleModel::mTransitCellG1Duration, AbstractCellCycleModel::SetBirthTime(), AbstractCellCycleModel::SetG2Duration(), AbstractCellCycleModel::SetMDuration(), AbstractCellCycleModel::SetMinimumGapDuration(), AbstractCellCycleModel::SetSDuration(), AbstractCellCycleModel::SetStemCellG1Duration(), AbstractCellCycleModel::SetTransitCellG1Duration(), and StochasticDurationCellCycleModel().
void StochasticDurationCellCycleModel::OutputCellCycleModelParameters | ( | out_stream & | rParamsFile | ) | [virtual] |
Outputs cell cycle model parameters to file.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 102 of file StochasticDurationCellCycleModel.cpp.
void StochasticDurationCellCycleModel::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the cell-cycle model and random number generator, never used directly - boost uses this.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 69 of file StochasticDurationCellCycleModel.hpp.
References SerializableSingleton< SINGLETON_CLASS >::GetSerializationWrapper(), and RandomNumberGenerator::Instance().
void StochasticDurationCellCycleModel::SetG1Duration | ( | ) | [virtual] |
Overridden SetG1Duration Method to add stochastic cell cycle times
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 80 of file StochasticDurationCellCycleModel.cpp.
References AbstractCellCycleModel::GetStemCellG1Duration(), AbstractCellCycleModel::GetTransitCellG1Duration(), RandomNumberGenerator::Instance(), AbstractCellCycleModel::mG1Duration, AbstractCellCycleModel::mpCell, NEVER_REACHED, and RandomNumberGenerator::ranf().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 61 of file StochasticDurationCellCycleModel.hpp.