36 #ifndef RANDOMCELLKILLER_HPP_
37 #define RANDOMCELLKILLER_HPP_
39 #include "AbstractCellKiller.hpp"
40 #include "RandomNumberGenerator.hpp"
43 #include <boost/serialization/base_object.hpp>
62 template<
unsigned DIM>
81 template<
class Archive>
82 void serialize(Archive & archive,
const unsigned int version)
84 archive & boost::serialization::base_object<AbstractCellKiller<DIM> >(*this);
88 archive & p_rng_wrapper;
132 namespace serialization
137 template<
class Archive,
unsigned DIM>
138 inline void save_construct_data(
143 ar << p_cell_population;
151 template<
class Archive,
unsigned DIM>
152 inline void load_construct_data(
157 ar >> p_cell_population;
double mProbabilityOfDeathInAnHour
void serialize(Archive &archive, const unsigned int version)
double GetDeathProbabilityInAnHour() const
void OutputCellKillerParameters(out_stream &rParamsFile)
RandomCellKiller(AbstractCellPopulation< DIM > *pCellPopulation, double probabilityOfDeathInAnHour)
const AbstractCellPopulation< SPACE_DIM > * GetCellPopulation() const
void CheckAndLabelSingleCellForApoptosis(CellPtr pCell)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
friend class boost::serialization::access
static RandomNumberGenerator * Instance()
void CheckAndLabelCellsForApoptosisOrDeath()
SerializableSingleton< SINGLETON_CLASS > * GetSerializationWrapper() const