#ifndef LOGGER_H #define LOGGER_H #include #include #include "simulation/coordinates.h" enum class DeletionType { wall, recombination, max_interactions, max_time_alive, cluster_formation }; class DeletionLogger { public: DeletionLogger(std::vector used_types); virtual void logDeletion(const Coordinate& coordinate, DeletionType type); std::map numDeletions() const; void numDeletions(long int new_value, DeletionType type); long int numDeletions(DeletionType type) const; friend class CpuSynchronizer; private: std::map num_deletions; }; #endif /* LOGGER_H */