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

Method SetResourceInflow

avida-core/source/main/cEnvironment.cc:1979–1985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1977}
1978
1979bool cEnvironment::SetResourceInflow(const cString& name, double _inflow )
1980{
1981 cResource* found_resource = resource_lib.GetResource(name);
1982 if (found_resource == NULL) return false;
1983 found_resource->SetInflow( _inflow );
1984 return true;
1985}
1986
1987bool cEnvironment::SetResourceOutflow(const cString& name, double _outflow )
1988{

Callers

nothing calls this directly

Calls 2

GetResourceMethod · 0.45
SetInflowMethod · 0.45

Tested by

no test coverage detected