36 #include "RandomCaSwitchingUpdateRule.hpp"
38 template<
unsigned DIM>
41 mSwitchingParameter(0.5)
45 template<
unsigned DIM>
50 template<
unsigned DIM>
52 unsigned neighbourNodeIndex,
57 return mSwitchingParameter*dt;
60 template<
unsigned DIM>
63 return mSwitchingParameter;
66 template<
unsigned DIM>
69 mSwitchingParameter = switchingParameter;
72 template<
unsigned DIM>
75 *rParamsFile <<
"\t\t\t<SwitchingParameter>" << mSwitchingParameter <<
"</SwitchingParameter>\n";
void SetSwitchingParameter(double switchingParameter)
RandomCaSwitchingUpdateRule()
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
double GetSwitchingParameter()
double EvaluateSwitchingProbability(unsigned currentNodeIndex, unsigned neighbourNodeIndex, CaBasedCellPopulation< DIM > &rCellPopulation, double dt, double deltaX)
virtual void OutputSwitchingUpdateRuleParameters(out_stream &rParamsFile)=0
~RandomCaSwitchingUpdateRule()
void OutputSwitchingUpdateRuleParameters(out_stream &rParamsFile)