pub struct MinimizerScheduler<CS, F, I, M, S> where
    CS: Scheduler<I, S>,
    F: TestcaseScore<I, S>,
    I: Input,
    M: AsSlice<usize> + SerdeAny + HasRefCnt,
    S: HasCorpus<I> + HasMetadata
{ /* private fields */ }
Expand description

The MinimizerScheduler employs a genetic algorithm to compute a subset of the corpus that exercise all the requested features (e.g. all the coverage seen so far) prioritizing Testcases using TestcaseScore

Implementations

Update the Corpus score using the MinimizerScheduler

Cull the Corpus using the MinimizerScheduler

Get a reference to the base scheduler

Creates a new MinimizerScheduler that wraps a base Scheduler and has a default probability to skip non-faved Testcases of DEFAULT_SKIP_NON_FAVORED_PROB.

Creates a new MinimizerScheduler that wraps a base Scheduler and has a non-default probability to skip non-faved Testcases using (skip_non_favored_prob).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Add an entry to the corpus and return its index

Replaces the testcase at the given idx

Removes an entry from the corpus, returning M if M was present.

Gets the next entry

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.