#include <StochasticWntCellCycleModel.hpp>
Inherits WntCellCycleModel.
Public Member Functions | |
void | InitialiseDaughterCell () |
void | Initialise () |
void | ResetForDivision () |
double | GetG2Duration () |
StochasticWntCellCycleModel () | |
StochasticWntCellCycleModel (const std::vector< double > &rParentProteinConcentrations, boost::shared_ptr< AbstractCellMutationState > pMutationState, const unsigned &rDimension) | |
AbstractCellCycleModel * | CreateCellCycleModel () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
void | SetG2Duration () |
Private Attributes | |
double | mG2Duration |
Friends | |
class | boost::serialization::access |
Wnt-dependent cell cycle model with a stochastic G2 duration.
Note that this class uses C++'s default copying semantics, and so doesn't implement a copy constructor or operator=.
Definition at line 43 of file StochasticWntCellCycleModel.hpp.
StochasticWntCellCycleModel::StochasticWntCellCycleModel | ( | ) |
The standard constructor called in tests.
Definition at line 31 of file StochasticWntCellCycleModel.cpp.
Referenced by CreateCellCycleModel().
StochasticWntCellCycleModel::StochasticWntCellCycleModel | ( | const std::vector< double > & | rParentProteinConcentrations, | |
boost::shared_ptr< AbstractCellMutationState > | pMutationState, | |||
const unsigned & | rDimension | |||
) |
A private constructor for archiving.
rParentProteinConcentrations | a std::vector of doubles of the protein concentrations (see WntCellCycleOdeSystem) | |
pMutationState | the mutation state of the cell (used by ODEs) | |
rDimension | the spatial dimension |
Definition at line 36 of file StochasticWntCellCycleModel.cpp.
AbstractCellCycleModel * StochasticWntCellCycleModel::CreateCellCycleModel | ( | ) | [virtual] |
Overridden builder method to create new copies of this cell cycle model.
Reimplemented from WntCellCycleModel.
Definition at line 90 of file StochasticWntCellCycleModel.cpp.
References StochasticWntCellCycleModel().
double StochasticWntCellCycleModel::GetG2Duration | ( | ) | [virtual] |
Get the duration of the G2 phase.
Reimplemented from AbstractCellCycleModel.
Definition at line 84 of file StochasticWntCellCycleModel.cpp.
References mG2Duration.
void StochasticWntCellCycleModel::Initialise | ( | void | ) | [virtual] |
Initialise the cell cycle model at the start of a simulation.
This overridden method sets up a new WntCellCycleOdeSystem, sets the cell type according to the current beta catenin level and sets a random G2 duration.
Reimplemented from WntCellCycleModel.
Definition at line 70 of file StochasticWntCellCycleModel.cpp.
References SetG2Duration().
void StochasticWntCellCycleModel::InitialiseDaughterCell | ( | ) | [virtual] |
Set the duration of the G2 phase for the daughter cell.
Reimplemented from AbstractCellCycleModel.
Definition at line 64 of file StochasticWntCellCycleModel.cpp.
References SetG2Duration().
void StochasticWntCellCycleModel::ResetForDivision | ( | ) | [virtual] |
Reset cell cycle model by calling AbstractOdeBasedCellCycleModel::ResetForDivision() and setting a new random G2 duration.
Reimplemented from AbstractWntOdeBasedCellCycleModel.
Definition at line 77 of file StochasticWntCellCycleModel.cpp.
References SetG2Duration().
void StochasticWntCellCycleModel::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the cell cycle model and member variables. Used by boost, never directly by chaste code.
Serialization of singleton objects must be done with care. Before the object is serialized via a pointer, it *MUST* be serialized directly, or an assertion will trip when a second instance of the class is created on de-serialization.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractWntOdeBasedCellCycleModel.
Definition at line 62 of file StochasticWntCellCycleModel.hpp.
References RandomNumberGenerator::Instance(), and mG2Duration.
void StochasticWntCellCycleModel::SetG2Duration | ( | ) | [private] |
This method overrides that in WntCellCycleModel and introduces the stochastic element of this class.
We allow the duration of the G2 phase of the cell cycle to vary as a normal random deviate with a mean of its deterministic duration, a standard deviation of 0.9 hours, and a cutoff to ensure that it is greater than some minimum value.
Definition at line 44 of file StochasticWntCellCycleModel.cpp.
References TissueConfig::GetG2Duration(), TissueConfig::GetMinimumGapDuration(), RandomNumberGenerator::Instance(), TissueConfig::Instance(), mG2Duration, and RandomNumberGenerator::NormalRandomDeviate().
Referenced by Initialise(), InitialiseDaughterCell(), and ResetForDivision().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from WntCellCycleModel.
Definition at line 48 of file StochasticWntCellCycleModel.hpp.
The duration of the G2 phase, set stochastically.
Definition at line 74 of file StochasticWntCellCycleModel.hpp.
Referenced by GetG2Duration(), serialize(), and SetG2Duration().