MCPcopy Create free account
hub / github.com/devosoft/avida / State

Method State

avida-core/source/main/cSpatialResCount.cc:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 the array index */
255
256void cSpatialResCount::State(int x) {
257 if (x >= 0 && x < grid.GetSize()) {
258 grid[x].State();
259 } else {
260 assert(false); // x not valid id
261 }
262}
263
264/* Fold the rate variable into the resource state for one element using
265 the x,y coordinate */

Callers 2

ModifyCellMethod · 0.45
StateAllMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected