Class CollectiveHarvestingService

Class Documentation

class dish2::CollectiveHarvestingService

Perform kin group collective resource harvest for single cell.

Calculates the total amount of resource collectively harvested to this cell by the cell’s kin group. This amount increases with quorum count and saturates at OPTIMAL_QUORUM_COUNT. Adds the harvested amount to the cell’s resource stockpile.

Public Static Functions

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