Package edu.berkeley.cs.jqf.fuzz.ei
Class ZestGuidance.LinearInput
- java.lang.Object
-
- edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.Input<Integer>
-
- edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.LinearInput
-
- Direct Known Subclasses:
ZestGuidance.SeedInput
- Enclosing class:
- ZestGuidance
public class ZestGuidance.LinearInput extends ZestGuidance.Input<Integer>
-
-
Constructor Summary
Constructors Constructor Description LinearInput()LinearInput(ZestGuidance.LinearInput other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestGuidance.Inputfuzz(Random random)voidgc()Truncates the input list to remove values that were never actually requested.intgetOrGenerateFresh(Integer key, Random random)Iterator<Integer>iterator()intsize()-
Methods inherited from class edu.berkeley.cs.jqf.fuzz.ei.ZestGuidance.Input
isFavored, sampleGeometric, setFavored
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
LinearInput
public LinearInput()
-
LinearInput
public LinearInput(ZestGuidance.LinearInput other)
-
-
Method Detail
-
getOrGenerateFresh
public int getOrGenerateFresh(Integer key, Random random)
- Specified by:
getOrGenerateFreshin classZestGuidance.Input<Integer>
-
size
public int size()
- Specified by:
sizein classZestGuidance.Input<Integer>
-
gc
public void gc()
Truncates the input list to remove values that were never actually requested.Although this operation mutates the underlying object, the effect should not be externally visible (at least as long as the test executions are deterministic).
- Specified by:
gcin classZestGuidance.Input<Integer>
-
fuzz
public ZestGuidance.Input fuzz(Random random)
- Specified by:
fuzzin classZestGuidance.Input<Integer>
-
-