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

Method GetDensity

avida-core/source/main/cDeme.h:183–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 int GetLastOrgCount() const { return last_org_count; }
182
183 double GetDensity() const { return static_cast<double>(cur_org_count) / static_cast<double>(GetSize()); }
184 int GetNumOrgsWithOpinion() const;
185
186 void IncOrgCount() { cur_org_count++; }

Callers 3

DemePreReplicationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected