 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
19 package ca.uqac.lif.synthia.util;
65 @SuppressWarnings({
"rawtypes",
"unchecked" })
70 for (
int i = 0; i <
m_pickers.length; i++)
Interface signaling that a picker can be shrunk.
Object[] getOutput(Object ... values)
Return an array of values.
Pickers generating and manipulating collections, such as lists and sets.
static final transient RandomFloat instance
A public static instance of RandomFloat.
Picker<?>[] m_pickers
The pickers used to generate the values.
Picker that merges the result of other pickers into an array.
Pickers that produce pseudo-random objects such as numbers.
Picker that merges the result of other pickers into a composite data structure.
ArrayPicker shrink(Object[] o, Picker< Float > decision, float magnitude)
ArrayPicker newPicker(Picker<?> ... pickers)
Returns a new array picker.
ArrayPicker(Picker<?> ... pickers)
Creates a new array picker.
Picks a floating point number uniformly in an interval.
An exception to throw when a picker can't pick an other element.
ArrayPicker shrink(Object[] o)