Struct DiversityMaintenanceService¶
Defined in File DiversityMaintenanceService.hpp
Struct Documentation¶
-
struct
dish2::DiversityMaintenanceService¶ Prevents any one originally-generated ancestor from sweeping the population, preserving deep phylogenetic diversity.
Counts cells that descend from each originally-generated ancestor. If more than
DIVERSITY_MAINTENANCE_PREVALENCEof cells descend from a single originally-generated ancestor, decay their resource stockpiles. The magnitude of this effect increases with excess prevalence.Public Static Functions
-
bool
ShouldRun(const size_t update)¶
-
template<typename
ThreadWorld>
voidDoService(ThreadWorld &thread_world, const size_t)¶
-
bool