 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
16 package ca.uqac.lif.synthia.random;
18 import ca.
uqac.
lif.petitpoucet.NodeFactory;
21 import ca.
uqac.
lif.petitpoucet.function.ExplanationQueryable;
82 return f.getPartNode(p,
this);
PartNode getExplanation(Part p)
static final transient Random s_random
A random number generator used to set the seed when none is specified.
int nextInt()
Returns the next pseudorandom, uniformly distributed.
void reset()
Puts the picker back into its initial state.
Picks an object based on the value of a random number generator.
An instance of this class is used to generate a stream of pseudorandom numbers.
PartNode getExplanation(Part p, NodeFactory f)
RandomPicker< T > setSeed(int seed)
Set the seed of the random generator.
Interface implemented by objects that can be seeded.
transient Random m_random