SchemaQ.use

Roll the dice to see if the mutant should be used.

struct SchemaQ
bool
use
(
const Path p
,,
const double threshold
)

Parameters

p Path

path the mutant is located at.

k Mutation.Kind

kind of mutant

threshold double

the mutants probability must be above the threshold otherwise it will automatically fail.

Return: true if the roll is positive, use the mutant.

Meta