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