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.Input
fuzz(Random random)
void
gc()
Truncates the input list to remove values that were never actually requested.int
getOrGenerateFresh(Integer key, Random random)
Iterator<Integer>
iterator()
int
size()
-
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:
getOrGenerateFresh
in classZestGuidance.Input<Integer>
-
size
public int size()
- Specified by:
size
in 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:
gc
in classZestGuidance.Input<Integer>
-
fuzz
public ZestGuidance.Input fuzz(Random random)
- Specified by:
fuzz
in classZestGuidance.Input<Integer>
-
-