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

Method RateAll

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

Source from the content-addressed store, hash-verified

293}
294
295void cSpatialResCount::RateAll(double ratein) {
296
297 int i;
298
299 for (i = 0; i < num_cells; i++) {
300 grid[i].Rate(ratein);
301 }
302}
303
304/* For each cell in the grid add the changes stored in the rate variable
305 with the total of the resource */

Callers 2

SetupMethod · 0.80
ReinitializeResourcesMethod · 0.80

Calls 1

RateMethod · 0.45

Tested by

no test coverage detected