Struct fuzzcheck::sensors_and_pools::MostNDiversePool
source · [−]pub struct MostNDiversePool { /* private fields */ }
Expand description
A pool that tries to find N test cases which, combined, activate the most counters of a sensor
A counter is a tuple (index: usize, value: u64)
. It is “activated” when its value is != 0.
Implementations
Trait Implementations
sourceimpl<O> CompatibleWithObservations<O> for MostNDiversePool where
for<'a> &'a O: IntoIterator<Item = &'a (usize, u64)>,
impl<O> CompatibleWithObservations<O> for MostNDiversePool where
for<'a> &'a O: IntoIterator<Item = &'a (usize, u64)>,
sourceimpl Pool for MostNDiversePool
impl Pool for MostNDiversePool
type Stats = MostNDiversePoolStats
type Stats = MostNDiversePoolStats
Statistics about the pool to be printed to the terminal as the fuzzer is running and saved to a .csv file after the run Read more
sourcefn get_random_index(&mut self) -> Option<PoolStorageIndex>
fn get_random_index(&mut self) -> Option<PoolStorageIndex>
Get the index of a random test case. Read more
Auto Trait Implementations
impl !RefUnwindSafe for MostNDiversePool
impl Send for MostNDiversePool
impl !Sync for MostNDiversePool
impl Unpin for MostNDiversePool
impl UnwindSafe for MostNDiversePool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more