Struct fuzzcheck::sensors_and_pools::OptimiseAggregateStatPool [−][src]
pub struct OptimiseAggregateStatPool<Strategy> { /* fields omitted */ }
Expand description
A pool that finds a single test case maximising some statistics computed from all of the sensor’s counters.
The statistics to optimise for is determined by the Strategy
type parameter, which can be:
SumOfCounterValues
to maximise the total sum of all countersNumberOfActivatedCounters
to maximise the number of counters that are != 0
Both strategies make the pool compatible with sensors whose
observation handler is &'a mut dyn FnMut((usize, u64))
,
such as CodeCoverageSensor
and
ArrayOfCounters
.