 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
19 package examples.apache;
128 public static void main(String[] args)
160 for (
int i = 0; i < 25; i++)
162 System.out.println(all.
pick());
Generates a string according to a predefined pattern.
Main program that generates the simulated log file interleaving multiple visitor instances.
Converts a graph into an equivalent Markov chain.
Miscellaneous pickers performing various functions.
Generates a graph following the Barabási–Albert model.
static final transient RandomFloat instance
A public static instance of RandomFloat.
Utility picker that converts an input into a string.
Utility picker that converts an input into a long integer.
static void main(String[] args)
A picker producing instances of visitors.
Pickers that produce pseudo-random objects such as numbers.
Picker that returns the same object every time.
Pickers producing and manipulating character strings.
Pickers for the generation of trees made of nodes with labels.
Illustrates pickers generating various trees and general graphs.
Node< T > pick()
Picks an object.
Choice< T > add(ProbabilityChoice< T > pc)
Adds an object-probability association.
RandomInteger setSeed(int seed)
Picks an integer uniformly in an interval.
Generates a random character string.
Generates a sequence of monotonically increasing numerical values.
Generates a sequence of objects by a random walk in a Markov chain.
Picker producing an "interleaved" sequence of objects from calls to multiple other pickers.
RandomPicker< T > setSeed(int seed)
Set the seed of the random generator.
Picks a floating point number uniformly in an interval.
Picks an element from a collection, where the probability of picking each element can be user-defined...
Pickers related to the generation of a sequence of values.