 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
19 package ca.uqac.lif.synthia.enumerative;
92 @SuppressWarnings(
"unchecked")
Picker< Integer > m_length
Bound(Picker< T > source, int length)
Interface signaling that a picker can be shrunk.
Picker<? extends T > m_picker
The underlying picker producing the values to transform.
Miscellaneous pickers performing various functions.
static final transient RandomFloat instance
A public static instance of RandomFloat.
Pickers that produce pseudo-random objects such as numbers.
Picker that returns the same object every time.
Shrinkable< T > shrink(T o, Picker< Float > decision, float m)
Shrinks a picker.
Shrinkable< T > shrink(T o)
Shrinks a picker with default parameters.
Interface used to signal that a picker enumerates all values from a set.
Bound(Picker<? extends T > source, Picker< Integer > length)
Return the value picked by a picker a defined number of times.
Bound< T > duplicate(boolean with_state)
Creates a copy of the picker.
A picker that applies a transformation ("mutation") on the value produced by another picker.
Picks a floating point number uniformly in an interval.
An exception to throw when a picker can't pick an other element.
void reset()
Puts the picker back into its initial state.
Picker< T > duplicate(boolean with_state)
Creates a copy of the picker.
boolean isDone()
Signals if the picker enumerates all values from a set.
void reset()
Puts the picker back into its initial state.
An exception to throw when a picker can't pick an other element.