Struct StintDiversityMaintenanceService¶
Defined in File StintDiversityMaintenanceService.hpp
Struct Documentation¶
-
struct
dish2::StintDiversityMaintenanceService¶ Prevents any one seeded or reconstituted stint-originating ancestor from sweeping the population, preserving phylogenetic diversity within a single stint.
Counts cells that descend from each seeded or reconstituted stint-originating ancestor. If more than
STINT_DIVERSITY_MAINTENANCE_PREVALENCEof cells descend from a single seeded or reconstituted 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