Struct ControllerMappedStateNoiseService

Struct Documentation

struct dish2::ControllerMappedStateNoiseService

Introduce noise to cardinals’ outputs.

Picks a random number $n$ from a Poisson distribution parameterized by CONTROLLER_MAPPED_STATE_DEFECT_RATE. Then, it introduces $n$ defects to a cell’s controller-mapped writable state. Half of these defects zero out the state and half randomize it.

Public Static Functions

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