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

Method Clear

avida-core/source/tools/cHistogram.h:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68
69inline void cHistogram::Clear()
70{
71 int num_bins = GetNumBins();
72 for (int i = 0; i < num_bins; i++) {
73 bins[i] = 0;
74 }
75 entry_count = 0;
76 entry_total = 0;
77}
78
79
80inline void cHistogram::Insert(int value, int count)

Callers 1

postProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected