Struct QuorumCapService

Struct Documentation

struct dish2::QuorumCapService

Enforces a hard cap on kin group size.

Probabilistically kills cells in kin groups where quorum count exceeds QUORUM_CAP, preferentially killing cells at the group periphery.

Public Static Functions

bool ShouldRun(const size_t update, const bool alive)
template<typename Cell>
bool ServiceImpl(Cell &cell, const size_t lev)
template<typename Cell>
void DoService(Cell &cell)