public class IntOverUnder extends java.lang.Object implements OperandPerturbator
Modifier and Type | Field and Description |
---|---|
protected int |
delta |
protected int |
offset |
Constructor and Description |
---|
IntOverUnder(Config conf,
java.lang.String keyPrefix) |
IntOverUnder(int delta) |
Modifier and Type | Method and Description |
---|---|
ChoiceGenerator<?> |
createChoiceGenerator(java.lang.String id,
StackFrame frame,
java.lang.Object refObject) |
java.lang.Class<? extends ChoiceGenerator<?>> |
getChoiceGeneratorType() |
boolean |
perturb(ChoiceGenerator<?> cg,
StackFrame frame) |
public IntOverUnder(Config conf, java.lang.String keyPrefix)
public IntOverUnder(int delta)
public ChoiceGenerator<?> createChoiceGenerator(java.lang.String id, StackFrame frame, java.lang.Object refObject)
createChoiceGenerator
in interface OperandPerturbator
public boolean perturb(ChoiceGenerator<?> cg, StackFrame frame)
perturb
in interface OperandPerturbator
public java.lang.Class<? extends ChoiceGenerator<?>> getChoiceGeneratorType()
getChoiceGeneratorType
in interface OperandPerturbator