Synthia
Generic and flexible data structure generator
API Documentation

Main package of the Synthia library. More...

Packages

package  ca.uqac.lif.synthia.collection
 Pickers generating and manipulating collections, such as lists and sets.
 
package  ca.uqac.lif.synthia.enumerative
 Pickers that systematically enumerate all values from a set of other pickers.
 
package  ca.uqac.lif.synthia.explanation
 Objects related to the explanation of results produced by pickers.
 
package  ca.uqac.lif.synthia.random
 Pickers that produce pseudo-random objects such as numbers.
 
package  ca.uqac.lif.synthia.relative
 Pickers that produce a value in relation to another value.
 
package  ca.uqac.lif.synthia.sequence
 Pickers related to the generation of a sequence of values.
 
package  ca.uqac.lif.synthia.signal
 Pickers producing values representing a form of (periodic) signal.
 
package  ca.uqac.lif.synthia.string
 Pickers producing and manipulating character strings.
 
package  ca.uqac.lif.synthia.test
 Classes that enable Synthia to operate as a fuzz testing tool.
 
package  ca.uqac.lif.synthia.util
 Miscellaneous pickers performing various functions.
 
package  ca.uqac.lif.synthia.vector
 Pickers generating multi-dimensional numerical vectors.
 
package  ca.uqac.lif.synthia.grammar
 Pickers generating sequences based on a context-free grammar.
 
package  ca.uqac.lif.synthia.tree
 Pickers for the generation of trees made of nodes with labels.
 

Classes

interface  ca.uqac.lif.synthia.Bounded< T >
 Interface used to signal that a picker enumerates all values from a set. More...
 
class  ca.uqac.lif.synthia.CannotShrinkException
 An exception to throw when a picker can't pick an other element. More...
 
class  ca.uqac.lif.synthia.collection.ComparableList< T >
 Class that extends Java's ArrayList class to implements the Comparable interface. More...
 
class  ca.uqac.lif.synthia.collection.ComposeList< T >
 
class  ca.uqac.lif.synthia.collection.CompositePicker< T >
 Picker that merges the result of other pickers into a composite data structure. More...
 
class  ca.uqac.lif.synthia.collection.DeleteElement< T >
 Mutator that receives a list and selects an element to delete from it. More...
 
class  ca.uqac.lif.synthia.collection.ListPicker
 Picker that merges the result of other pickers into a list. More...
 
class  ca.uqac.lif.synthia.collection.MutateElement< T >
 Picker that selects an element of a list and applies the result of a mutator on this element. More...
 
class  ca.uqac.lif.synthia.collection.SetPicker
 Picker that merges the result of other pickers into a set. More...
 
class  ca.uqac.lif.synthia.collection.Swap< T >
 Mutator that receives a list and selects two elements to be swapped. More...
 
class  ca.uqac.lif.synthia.enumerative.AllBooleans
 Picker who implements EnumerativePicker. More...
 
class  ca.uqac.lif.synthia.enumerative.AllElements< T >
 
class  ca.uqac.lif.synthia.enumerative.AllIntegers
 Picker who implements EnumerativePicker. More...
 
class  ca.uqac.lif.synthia.enumerative.AllPickers
 Picker who implements Bounded. More...
 
class  ca.uqac.lif.synthia.enumerative.Bound< T >
 Return the value picked by a picker a defined number of times. More...
 
class  ca.uqac.lif.synthia.enumerative.Unbound< T >
 
class  ca.uqac.lif.synthia.explanation.Explanation
 Constructs an explanation graph for the output produced by a picker. More...
 
class  ca.uqac.lif.synthia.explanation.NthSuccessiveOutput
 A Part pointing to the n-th output produced by a picker since its last call to reset(). More...
 
class  ca.uqac.lif.synthia.GiveUpException
 An exception to throw to prevent the pick method of a PickIf picker from falling into an infinite loop. More...
 
interface  ca.uqac.lif.synthia.IndexPicker
 Picker for an integer from 0 to a fixed bound. More...
 
class  ca.uqac.lif.synthia.Main
 Dummy main file. More...
 
class  ca.uqac.lif.synthia.NoMoreElementException
 An exception to throw when a picker can't pick an other element. More...
 
interface  ca.uqac.lif.synthia.Picker< T >
 Picks an object. More...
 
class  ca.uqac.lif.synthia.PickerException
 Generic runtime exception thrown by the Picker interface. More...
 
class  ca.uqac.lif.synthia.random.AffineTransform< T extends Number >
 Applies an affine transform to a value produced by another picker. More...
 
class  ca.uqac.lif.synthia.random.GaussianFloat
 Produces a float picked from a Gaussian probability distribution. More...
 
class  ca.uqac.lif.synthia.random.PoissonInteger
 Generates integer numbers following a Poisson distribution. More...
 
class  ca.uqac.lif.synthia.random.Random
 An instance of this class is used to generate a stream of pseudorandom numbers. More...
 
class  ca.uqac.lif.synthia.random.RandomBoolean
 Picks a Boolean value. More...
 
class  ca.uqac.lif.synthia.random.RandomFloat
 Picks a floating point number uniformly in an interval. More...
 
class  ca.uqac.lif.synthia.random.RandomInteger
 Picks an integer uniformly in an interval. More...
 
class  ca.uqac.lif.synthia.random.RandomPicker< T >
 Picks an object based on the value of a random number generator. More...
 
class  ca.uqac.lif.synthia.random.RandomSubList< T >
 An equivalent of RandomSubString but for lists. More...
 
interface  ca.uqac.lif.synthia.Reactive< U, T >
 Interface implemented by pickers whose picking of objects can be altered by external information. More...
 
class  ca.uqac.lif.synthia.relative.PickIf< T >
 Returns object from a picker satisfying a condition. More...
 
class  ca.uqac.lif.synthia.relative.PickSmallerComparable< T >
 A variant of PickIf that selects an element if it is smaller than a reference object. More...
 
class  ca.uqac.lif.synthia.relative.PickSmallerComparator< T >
 A variant of PickIf that selects an element if it is smaller than a reference object. More...
 
interface  ca.uqac.lif.synthia.Resettable
 Signals that an object can be put back into its initial state. More...
 
interface  ca.uqac.lif.synthia.Seedable
 Interface implemented by objects that can be seeded. More...
 
class  ca.uqac.lif.synthia.sequence.BehaviorTree< T >
 Generates a sequence of objects by following a behavior tree. More...
 
class  ca.uqac.lif.synthia.sequence.Knit< T >
 Picker producing an "interleaved" sequence of objects from calls to multiple other pickers. More...
 
class  ca.uqac.lif.synthia.sequence.MarkovChain< T >
 Generates a sequence of objects by a random walk in a Markov chain. More...
 
class  ca.uqac.lif.synthia.sequence.Playback< T >
 Picker that returns values taken from a list. More...
 
class  ca.uqac.lif.synthia.sequence.Record< T >
 Picker that records and returns the values produced by another picker. More...
 
interface  ca.uqac.lif.synthia.SequenceShrinkable< T >
 Signals that a picker can shrink the sequence of values it has produced since its last reset. More...
 
interface  ca.uqac.lif.synthia.Shrinkable< T >
 Interface signaling that a picker can be shrunk. More...
 
class  ca.uqac.lif.synthia.signal.PeriodicSignal
 A signal picker that is characterized by an amplitude and a phase. More...
 
class  ca.uqac.lif.synthia.signal.SineWave
 A periodic signal picker producing a sine wave. More...
 
class  ca.uqac.lif.synthia.string.AsString
 Utility picker that converts an input into a string. More...
 
class  ca.uqac.lif.synthia.string.RandomPrefix
 Like RandomSubString, but this time, the Picker returns a prefix of the original strings of randomly selected length. More...
 
class  ca.uqac.lif.synthia.string.RandomString
 Generates a random character string. More...
 
class  ca.uqac.lif.synthia.string.RandomSubString
 RandomPicker that produces random substrings from an original one. More...
 
class  ca.uqac.lif.synthia.string.RandomSuffix
 Just like RandomPrefix but for suffixes. More...
 
class  ca.uqac.lif.synthia.string.RandomTrim
 A combination of RandomPrefix and RandomSuffix. More...
 
class  ca.uqac.lif.synthia.string.StringPattern
 Generates a string according to a predefined pattern. More...
 
interface  ca.uqac.lif.synthia.test.Action
 Interface signaling that an object can perform an "action". More...
 
class  ca.uqac.lif.synthia.test.CompositeAction
 A Action that is made of a sequence of elementary actions. More...
 
class  ca.uqac.lif.synthia.util.ArrayPicker
 Picker that merges the result of other pickers into an array. More...
 
class  ca.uqac.lif.synthia.util.AsInt
 Utility picker that converts an input into an integer. More...
 
class  ca.uqac.lif.synthia.util.AsLong
 Utility picker that converts an input into a long integer. More...
 
class  ca.uqac.lif.synthia.util.Choice< T >
 Picks an element from a collection, where the probability of picking each element can be user-defined. More...
 
class  ca.uqac.lif.synthia.util.Constant< T >
 Picker that returns the same object every time. More...
 
class  ca.uqac.lif.synthia.util.DiscardRatio
 A utility picker to calculate the discard ratio of a PickIf picker. More...
 
class  ca.uqac.lif.synthia.util.Freeze< T >
 Picker that returns the first object fetched from another picker and repeats it endlessly. More...
 
class  ca.uqac.lif.synthia.util.Mutate< T >
 Transforms an object from a picker by selecting a mutator and applying it to an object. More...
 
class  ca.uqac.lif.synthia.util.Mutator< T >
 A picker that applies a transformation ("mutation") on the value produced by another picker. More...
 
class  ca.uqac.lif.synthia.util.NothingPicker< T >
 A RelativePicker that only throws a NoMoreElementException when the pick() method is called. More...
 
class  ca.uqac.lif.synthia.util.Offset
 Takes the numerical value of a picker, and offsets it by an amount determined by another picker. More...
 
class  ca.uqac.lif.synthia.util.Once< T >
 Picker that returns the first value fetched from another picker, and then null afterwards. More...
 
class  ca.uqac.lif.synthia.util.Replace< T >
 
class  ca.uqac.lif.synthia.util.Share< T >
 Allows values of a single picker to be shared among multiple copies of a picker instance. More...
 
class  ca.uqac.lif.synthia.util.Tick
 Generates a sequence of monotonically increasing numerical values. More...
 
class  ca.uqac.lif.synthia.vector.HyperspherePicker
 Generates n-dimensional vectors with a given modulus. More...
 
class  ca.uqac.lif.synthia.vector.PrismPicker
 Generates a vector by independently picking a value for each of its coordinates. More...
 
interface  ca.uqac.lif.synthia.vector.VectorPicker
 Interface for pickers that generate arrays of floating-point numbers. More...
 
class  examples.gui.WidgetAction< T >.ClickAction
 Action that clicks on a specific button when called.
 
class  examples.gui.WidgetAction< T >.TypeAction
 Action that types a string inside a textbox.
 
class  ca.uqac.lif.synthia.grammar.GrammarSentence
 Picker that generates sentences from a format grammar. More...
 
class  ca.uqac.lif.synthia.grammar.Main
 Dummy main file. More...
 
class  ca.uqac.lif.synthia.tree.ColoredNodePicker
 
class  ca.uqac.lif.synthia.tree.GraphRenderer< T >
 Renders a tree of labeled nodes as a Graphviz input file. More...
 
class  ca.uqac.lif.synthia.tree.Node< T >
 Simple implementation of a labeled nodel. More...
 
class  ca.uqac.lif.synthia.tree.TreePicker< T >
 Generates a tree of labeled nodes. More...
 

Detailed Description

Main package of the Synthia library.

This package defines the core classes and interfaces which most of the other objects in the library descend from.