AbstractCellCycleModel Class Reference

#include <AbstractCellCycleModel.hpp>

Inherits Identifiable, and boost::noncopyable.

Inherited by AbstractOdeBasedCellCycleModel, and AbstractSimpleCellCycleModel.

Collaboration diagram for AbstractCellCycleModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractCellCycleModel ()
virtual ~AbstractCellCycleModel ()
void SetCell (CellPtr pCell)
virtual void Initialise ()
virtual void InitialiseDaughterCell ()
CellPtr GetCell ()
virtual void SetBirthTime (double birthTime)
void SetDimension (unsigned dimension)
unsigned GetDimension ()
double GetBirthTime () const
double GetAge ()
virtual bool ReadyToDivide ()
virtual void UpdateCellCyclePhase ()=0
virtual void ResetForDivision ()
virtual AbstractCellCycleModelCreateCellCycleModel ()=0
CellCyclePhase GetCurrentCellCyclePhase ()
virtual double GetG1Duration ()
double GetStemCellG1Duration ()
double GetTransitCellG1Duration ()
double GetSG2MDuration ()
virtual double GetSDuration ()
virtual double GetG2Duration ()
virtual double GetMDuration ()
void SetStemCellG1Duration (double stemCellG1Duration)
void SetTransitCellG1Duration (double transitCellG1Duration)
void SetSDuration (double sDuration)
void SetG2Duration (double g2Duration)
void SetMDuration (double mDuration)
virtual double GetAverageTransitCellCycleTime ()
virtual double GetAverageStemCellCycleTime ()
virtual bool CanCellTerminallyDifferentiate ()
CellProliferativeType GetCellProliferativeType () const
void SetCellProliferativeType (CellProliferativeType cellType)
double GetMinimumGapDuration ()
void SetMinimumGapDuration (double minimumGapDuration)
void OutputCellCycleModelInfo (out_stream &rParamsFile)
virtual void OutputCellCycleModelParameters (out_stream &rParamsFile)=0

Protected Attributes

CellPtr mpCell
double mBirthTime
CellCyclePhase mCurrentCellCyclePhase
double mG1Duration
bool mReadyToDivide
unsigned mDimension
CellProliferativeType mCellProliferativeType
double mMinimumGapDuration
double mStemCellG1Duration
double mTransitCellG1Duration
double mSDuration
double mG2Duration
double mMDuration

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

The AbstractCellCycleModel contains basic information to all cell-cycle models. It handles assignment of birth time, cell cycle phase and a Cell.

Cell-cycle models are noncopyable since cells are noncopyable.

Definition at line 55 of file AbstractCellCycleModel.hpp.


Constructor & Destructor Documentation

AbstractCellCycleModel::AbstractCellCycleModel (  ) 

Sets up a new AbstractCellCycleModel, gives it a birth time of the current simulation time (which is overwritten by some subclasses)

Definition at line 31 of file AbstractCellCycleModel.cpp.

AbstractCellCycleModel::~AbstractCellCycleModel (  )  [virtual]

Base class with virtual methods needs a virtual destructor. The destructor does not delete mpCell. Instead, the cell takes responsibility for deleting the cell-cycle model when it is destroyed.

Definition at line 47 of file AbstractCellCycleModel.cpp.


Member Function Documentation

bool AbstractCellCycleModel::CanCellTerminallyDifferentiate (  )  [virtual]

Whether a cell with this cell-cycle model is able to fully (terminally) differentiate.

Reimplemented in TysonNovakCellCycleModel, AbstractWntOdeBasedCellCycleModel, and SimpleWntCellCycleModel.

Definition at line 206 of file AbstractCellCycleModel.cpp.

virtual AbstractCellCycleModel* AbstractCellCycleModel::CreateCellCycleModel (  )  [pure virtual]

Builder method to create new instances of the cell-cycle model. Each concrete subclass must implement this method to create an instance of that subclass.

This method is called by Cell::Divide() to create a cell cycle model for the daughter cell. Note that the parent cell cycle model will have had ResetForDivision() called just before CreateCellCycleModel() is called, so performing an exact copy of the parent is suitable behaviour. Any daughter-cell-specific initialisation can be done in InitialiseDaughterCell().

Implemented in Alarcon2004OxygenBasedCellCycleModel, ContactInhibitionCellCycleModel, DeltaNotchCellCycleModel, FixedDurationGenerationBasedCellCycleModel, SimpleOxygenBasedCellCycleModel, StochasticDurationCellCycleModel, StochasticDurationGenerationBasedCellCycleModel, StochasticOxygenBasedCellCycleModel, TysonNovakCellCycleModel, SimpleWntCellCycleModel, SingleOdeWntCellCycleModel, StochasticWntCellCycleModel, VanLeeuwen2009WntSwatCellCycleModelHypothesisOne, VanLeeuwen2009WntSwatCellCycleModelHypothesisTwo, and WntCellCycleModel.

Referenced by Cell::Divide().

double AbstractCellCycleModel::GetAge (  ) 
double AbstractCellCycleModel::GetAverageStemCellCycleTime (  )  [virtual]

Return the typical cell cycle duration for a stem cell, in hours. This method is overridden in some subclasses.

Reimplemented in TysonNovakCellCycleModel, and AbstractWntOdeBasedCellCycleModel.

Definition at line 201 of file AbstractCellCycleModel.cpp.

References GetSG2MDuration(), and mStemCellG1Duration.

double AbstractCellCycleModel::GetAverageTransitCellCycleTime (  )  [virtual]

Return the typical cell cycle duration for a transit cell, in hours. This method is overridden in some subclasses.

Reimplemented in TysonNovakCellCycleModel, and AbstractWntOdeBasedCellCycleModel.

Definition at line 196 of file AbstractCellCycleModel.cpp.

References GetSG2MDuration(), and mTransitCellG1Duration.

double AbstractCellCycleModel::GetBirthTime (  )  const
Returns:
the time at which the cell was born.

Definition at line 75 of file AbstractCellCycleModel.cpp.

References mBirthTime.

Referenced by Cell::GetBirthTime().

CellPtr AbstractCellCycleModel::GetCell (  ) 
Returns:
The cell which plays host to this cell-cycle model.

Definition at line 64 of file AbstractCellCycleModel.cpp.

References mpCell.

Referenced by MeshBasedCellPopulation< DIM >::CheckCellPointers().

CellProliferativeType AbstractCellCycleModel::GetCellProliferativeType (  )  const
CellCyclePhase AbstractCellCycleModel::GetCurrentCellCyclePhase (  ) 
Returns:
the current cell cycle phase

Definition at line 85 of file AbstractCellCycleModel.cpp.

References mCurrentCellCyclePhase.

Referenced by MeshBasedCellPopulation< DIM >::WriteVtkResultsToFile().

unsigned AbstractCellCycleModel::GetDimension (  ) 

Get the dimension this cell-cycle model thinks the simulation is in.

Definition at line 191 of file AbstractCellCycleModel.cpp.

References mDimension.

double AbstractCellCycleModel::GetG1Duration (  )  [virtual]
Returns:
the duration of the G1 phase of the cell cycle

Definition at line 97 of file AbstractCellCycleModel.cpp.

References mG1Duration.

Referenced by ReadyToDivide().

double AbstractCellCycleModel::GetG2Duration (  )  [virtual]
double AbstractCellCycleModel::GetMDuration (  )  [virtual]
double AbstractCellCycleModel::GetMinimumGapDuration (  ) 
Returns:
mMinimumGapDuration

Definition at line 227 of file AbstractCellCycleModel.cpp.

References mMinimumGapDuration.

double AbstractCellCycleModel::GetSDuration (  )  [virtual]
double AbstractCellCycleModel::GetSG2MDuration (  ) 
Returns:
mSDuration + mG2Duration + mMDuration

Definition at line 116 of file AbstractCellCycleModel.cpp.

References mG2Duration, mMDuration, and mSDuration.

Referenced by GetAverageStemCellCycleTime(), and GetAverageTransitCellCycleTime().

double AbstractCellCycleModel::GetStemCellG1Duration (  ) 
double AbstractCellCycleModel::GetTransitCellG1Duration (  ) 
void AbstractCellCycleModel::Initialise ( void   )  [virtual]

Initialise the cell-cycle model at the start of a simulation.

This method will be called precisely once per cell set up in the initial cell population. It is not called on cell division; use ResetForDivision(), CreateCellCycleModel() and InitialiseDaughterCell() for that.

By the time this is called, a CellPopulation will have been set up, so the model can know where its cell is located in space. If relevant to the simulation, CellwiseData and/or other singletons will also have been initialised.

Reimplemented in AbstractSimpleCellCycleModel, Alarcon2004OxygenBasedCellCycleModel, DeltaNotchCellCycleModel, StochasticOxygenBasedCellCycleModel, TysonNovakCellCycleModel, AbstractVanLeeuwen2009WntSwatCellCycleModel, SingleOdeWntCellCycleModel, StochasticWntCellCycleModel, and WntCellCycleModel.

Definition at line 51 of file AbstractCellCycleModel.cpp.

Referenced by Cell::InitialiseCellCycleModel().

void AbstractCellCycleModel::InitialiseDaughterCell (  )  [virtual]

Initialise the new daughter cell's cycle model after a cell division.

This is called by Cell::Divide once the new cell object has been fully created, to perform any initialisation of the cell cycle which requires access to the cell.

Note that much initialisation can be performed using the combination of ResetForDivision() (called on the parent prior to division) and CreateCellCycleModel() (called on the reset parent to create the new cell-cycle model object).

Reimplemented in AbstractSimpleCellCycleModel, AbstractSimpleGenerationBasedCellCycleModel, StochasticOxygenBasedCellCycleModel, TysonNovakCellCycleModel, SimpleWntCellCycleModel, and StochasticWntCellCycleModel.

Definition at line 55 of file AbstractCellCycleModel.cpp.

void AbstractCellCycleModel::OutputCellCycleModelInfo ( out_stream &  rParamsFile  ) 

Outputs cell-cycle model used in the simulation to file and then calls OutputCellCyclemodelParameters to output all relevant parameters.

Parameters:
rParamsFile the file stream to which the parameters are output

Definition at line 232 of file AbstractCellCycleModel.cpp.

References Identifiable::GetIdentifier(), and OutputCellCycleModelParameters().

void AbstractCellCycleModel::OutputCellCycleModelParameters ( out_stream &  rParamsFile  )  [pure virtual]
bool AbstractCellCycleModel::ReadyToDivide (  )  [virtual]

Determine whether the cell is ready to divide (enter M phase).

The intention is that this method is called precisely once at each timestep of the simulation. However this does not appear to always be the case at present, and so it can cope with more unusual usage patterns.

Definition at line 166 of file AbstractCellCycleModel.cpp.

References GetAge(), GetG1Duration(), GetG2Duration(), GetMDuration(), GetSDuration(), mCurrentCellCyclePhase, mpCell, mReadyToDivide, and UpdateCellCyclePhase().

Referenced by Cell::ReadyToDivide().

void AbstractCellCycleModel::ResetForDivision (  )  [virtual]

Each cell-cycle model must be able to be reset 'after' a cell division.

Actually, this method is called from Cell::Divide() to reset the cell cycle just before the daughter cell is created. CreateCellCycleModel() can then clone our state to generate a cell-cycle model instance for the daughter cell.

Reimplemented in AbstractOdeBasedCellCycleModel, AbstractSimpleCellCycleModel, AbstractSimpleGenerationBasedCellCycleModel, Alarcon2004OxygenBasedCellCycleModel, StochasticOxygenBasedCellCycleModel, TysonNovakCellCycleModel, AbstractWntOdeBasedCellCycleModel, and StochasticWntCellCycleModel.

Definition at line 90 of file AbstractCellCycleModel.cpp.

References mCurrentCellCyclePhase, and mReadyToDivide.

Referenced by Cell::Divide().

template<class Archive >
void AbstractCellCycleModel::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]
void AbstractCellCycleModel::SetBirthTime ( double  birthTime  )  [virtual]
void AbstractCellCycleModel::SetCell ( CellPtr  pCell  ) 

Gives the cell-cycle model a pointer to its host cell.

Some cell-cycle models pass this pointer to other classes, which use this information to determine other information based upon the location of the cell (e.g. the Wnt concentration at this location).

Parameters:
pCell pointer to the cell

Definition at line 59 of file AbstractCellCycleModel.cpp.

References mpCell.

Referenced by Cell::Cell(), and Cell::SetCellCycleModel().

void AbstractCellCycleModel::SetCellProliferativeType ( CellProliferativeType  cellType  ) 
void AbstractCellCycleModel::SetDimension ( unsigned  dimension  ) 
void AbstractCellCycleModel::SetG2Duration ( double  g2Duration  ) 
void AbstractCellCycleModel::SetMDuration ( double  mDuration  ) 
void AbstractCellCycleModel::SetMinimumGapDuration ( double  minimumGapDuration  ) 
void AbstractCellCycleModel::SetSDuration ( double  sDuration  ) 
void AbstractCellCycleModel::SetStemCellG1Duration ( double  stemCellG1Duration  ) 
void AbstractCellCycleModel::SetTransitCellG1Duration ( double  transitCellG1Duration  ) 
virtual void AbstractCellCycleModel::UpdateCellCyclePhase (  )  [pure virtual]

This method must be implemented by subclasses in order to set the phase the cell-cycle model is currently in. It is called from ReadyToDivide() just prior to deciding whether to divide the cell based on how far through the cell cycle it is, i.e. whether it has completed M, G1, S and G2 phases.

Implemented in AbstractOdeBasedCellCycleModel, AbstractSimpleCellCycleModel, ContactInhibitionCellCycleModel, DeltaNotchCellCycleModel, SimpleOxygenBasedCellCycleModel, AbstractWntOdeBasedCellCycleModel, SimpleWntCellCycleModel, and SingleOdeWntCellCycleModel.

Referenced by ReadyToDivide().


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Member Data Documentation

CellProliferativeType AbstractCellCycleModel::mCellProliferativeType [protected]

The cell type - defined in CellProliferativeTypes.hpp.

Definition at line 123 of file AbstractCellCycleModel.hpp.

Referenced by WntCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), SingleOdeWntCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), AbstractVanLeeuwen2009WntSwatCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), WntCellCycleModel::CreateCellCycleModel(), VanLeeuwen2009WntSwatCellCycleModelHypothesisTwo::CreateCellCycleModel(), VanLeeuwen2009WntSwatCellCycleModelHypothesisOne::CreateCellCycleModel(), StochasticWntCellCycleModel::CreateCellCycleModel(), SingleOdeWntCellCycleModel::CreateCellCycleModel(), SimpleWntCellCycleModel::CreateCellCycleModel(), TysonNovakCellCycleModel::CreateCellCycleModel(), StochasticOxygenBasedCellCycleModel::CreateCellCycleModel(), StochasticDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), StochasticDurationCellCycleModel::CreateCellCycleModel(), SimpleOxygenBasedCellCycleModel::CreateCellCycleModel(), FixedDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), DeltaNotchCellCycleModel::CreateCellCycleModel(), ContactInhibitionCellCycleModel::CreateCellCycleModel(), Alarcon2004OxygenBasedCellCycleModel::CreateCellCycleModel(), GetCellProliferativeType(), SimpleWntCellCycleModel::InitialiseDaughterCell(), TysonNovakCellCycleModel::InitialiseDaughterCell(), AbstractSimpleGenerationBasedCellCycleModel::InitialiseDaughterCell(), AbstractSimpleGenerationBasedCellCycleModel::ResetForDivision(), serialize(), SetCellProliferativeType(), SimpleWntCellCycleModel::SetG1Duration(), StochasticDurationGenerationBasedCellCycleModel::SetG1Duration(), StochasticDurationCellCycleModel::SetG1Duration(), AbstractSimpleCellCycleModel::SetG1Duration(), SimpleWntCellCycleModel::UpdateCellCyclePhase(), and AbstractSimpleCellCycleModel::UpdateCellCyclePhase().

CellPtr AbstractCellCycleModel::mpCell [protected]

The cell that this model is associated with.

Definition at line 93 of file AbstractCellCycleModel.hpp.

Referenced by WntCellCycleModel::AdjustOdeParameters(), SingleOdeWntCellCycleModel::AdjustOdeParameters(), AbstractVanLeeuwen2009WntSwatCellCycleModel::AdjustOdeParameters(), Alarcon2004OxygenBasedCellCycleModel::AdjustOdeParameters(), WntCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), SingleOdeWntCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), AbstractVanLeeuwen2009WntSwatCellCycleModel::ChangeCellProliferativeTypeDueToCurrentBetaCateninLevel(), WntCellCycleModel::CreateCellCycleModel(), VanLeeuwen2009WntSwatCellCycleModelHypothesisTwo::CreateCellCycleModel(), VanLeeuwen2009WntSwatCellCycleModelHypothesisOne::CreateCellCycleModel(), StochasticWntCellCycleModel::CreateCellCycleModel(), SingleOdeWntCellCycleModel::CreateCellCycleModel(), Alarcon2004OxygenBasedCellCycleModel::CreateCellCycleModel(), GetCell(), SimpleWntCellCycleModel::GetWntLevel(), AbstractWntOdeBasedCellCycleModel::GetWntLevel(), WntCellCycleModel::Initialise(), SingleOdeWntCellCycleModel::Initialise(), AbstractVanLeeuwen2009WntSwatCellCycleModel::Initialise(), DeltaNotchCellCycleModel::Initialise(), Alarcon2004OxygenBasedCellCycleModel::Initialise(), ReadyToDivide(), SetCell(), SimpleWntCellCycleModel::SetG1Duration(), AbstractSimpleCellCycleModel::SetG1Duration(), SimpleWntCellCycleModel::UpdateCellCyclePhase(), SimpleOxygenBasedCellCycleModel::UpdateCellCyclePhase(), ContactInhibitionCellCycleModel::UpdateCellCyclePhase(), AbstractWntOdeBasedCellCycleModel::UpdateCellProliferativeType(), DeltaNotchCellCycleModel::UpdateDeltaNotch(), and SimpleOxygenBasedCellCycleModel::UpdateHypoxicDuration().

Whether the cell is currently ready to undergo division.

Definition at line 113 of file AbstractCellCycleModel.hpp.

Referenced by ReadyToDivide(), ResetForDivision(), and serialize().


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:00:45 2011 for Chaste by  doxygen 1.6.3