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

Method UpdateResources

avida-core/source/main/cPopulation.cc:7159–7162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7157
7158
7159void cPopulation::UpdateResources(cAvidaContext& ctx, const Apto::Array<double> & res_change)
7160{
7161 resource_count.Modify(ctx, res_change);
7162}
7163
7164void cPopulation::UpdateResource(cAvidaContext& ctx, int res_index, double change)
7165{

Callers 3

TriggerDoUpdatesMethod · 0.45
doOutputMethod · 0.45
NotifyDeathMethod · 0.45

Calls 1

ModifyMethod · 0.80

Tested by

no test coverage detected