Chaste
Release::3.4
|
#include <GammaDistributedStochasticDurationCellCycleModel.hpp>
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mShape |
double | mScale |
Friends | |
class | TestSimpleCellCycleModels |
class | boost::serialization::access |
Additional Inherited Members | |
Protected Attributes inherited from AbstractCellCycleModel | |
CellPtr | mpCell |
double | mBirthTime |
CellCyclePhase | mCurrentCellCyclePhase |
double | mG1Duration |
bool | mReadyToDivide |
unsigned | mDimension |
double | mMinimumGapDuration |
double | mStemCellG1Duration |
double | mTransitCellG1Duration |
double | mSDuration |
double | mG2Duration |
double | mMDuration |
A stochastic cell-cycle model where cells keep dividing with a stochastic G1 duration drawn from a gamma distribution with specified shape and scale parameters.
Definition at line 46 of file GammaDistributedStochasticDurationCellCycleModel.hpp.
GammaDistributedStochasticDurationCellCycleModel::GammaDistributedStochasticDurationCellCycleModel | ( | ) |
Constructor.
Definition at line 42 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
Referenced by CreateCellCycleModel().
|
virtual |
Overridden builder method to create new copies of this cell-cycle model.
Implements AbstractCellCycleModel.
Definition at line 49 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References GammaDistributedStochasticDurationCellCycleModel(), AbstractCellCycleModel::mBirthTime, AbstractCellCycleModel::mG2Duration, AbstractCellCycleModel::mMDuration, AbstractCellCycleModel::mMinimumGapDuration, mScale, AbstractCellCycleModel::mSDuration, mShape, AbstractCellCycleModel::mStemCellG1Duration, AbstractCellCycleModel::mTransitCellG1Duration, AbstractCellCycleModel::SetBirthTime(), AbstractCellCycleModel::SetG2Duration(), AbstractCellCycleModel::SetMDuration(), AbstractCellCycleModel::SetMinimumGapDuration(), SetScale(), AbstractCellCycleModel::SetSDuration(), SetShape(), AbstractCellCycleModel::SetStemCellG1Duration(), and AbstractCellCycleModel::SetTransitCellG1Duration().
double GammaDistributedStochasticDurationCellCycleModel::GetScale | ( | ) |
Definition at line 117 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References mScale.
double GammaDistributedStochasticDurationCellCycleModel::GetShape | ( | ) |
Definition at line 112 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References mShape.
|
virtual |
Overridden OutputCellCycleModelParameters() method.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 122 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References mScale, mShape, and AbstractSimpleCellCycleModel::OutputCellCycleModelParameters().
|
inlineprivate |
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 |
Definition at line 67 of file GammaDistributedStochasticDurationCellCycleModel.hpp.
References SerializableSingleton< SINGLETON_CLASS >::GetSerializationWrapper(), RandomNumberGenerator::Instance(), mScale, and mShape.
|
virtual |
Overridden SetG1Duration().
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 84 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References RandomNumberGenerator::GammaRandomDeviate(), RandomNumberGenerator::Instance(), AbstractCellCycleModel::mG1Duration, AbstractCellCycleModel::mpCell, mScale, mShape, and NEVER_REACHED.
void GammaDistributedStochasticDurationCellCycleModel::SetScale | ( | double | scale | ) |
scale | the value of the scale parameter |
Definition at line 107 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References mScale.
Referenced by CreateCellCycleModel().
void GammaDistributedStochasticDurationCellCycleModel::SetShape | ( | double | shape | ) |
Set mShape.
shape | the value of the shape parameter |
Definition at line 102 of file GammaDistributedStochasticDurationCellCycleModel.cpp.
References mShape.
Referenced by CreateCellCycleModel().
|
friend |
Needed for serialization.
Definition at line 59 of file GammaDistributedStochasticDurationCellCycleModel.hpp.
|
private |
The scale parameter of the gamma distribution. This must be a positive real number.
Definition at line 56 of file GammaDistributedStochasticDurationCellCycleModel.hpp.
Referenced by CreateCellCycleModel(), GetScale(), OutputCellCycleModelParameters(), serialize(), SetG1Duration(), and SetScale().
|
private |
The shape parameter of the gamma distribution. This must be a positive real number.
Definition at line 53 of file GammaDistributedStochasticDurationCellCycleModel.hpp.
Referenced by CreateCellCycleModel(), GetShape(), OutputCellCycleModelParameters(), serialize(), SetG1Duration(), and SetShape().