Synthia
Generic and flexible data structure generator
Code Examples

A set of simple annotated examples illustrating the various functionalities of the library. More...

Packages

package  examples.apache
 Generates a fake web server log simulating the trajectory of multiple visitors through a randomly-generated site map.
 
package  examples.basic
 Simple examples involving only basic pickers.
 
package  examples.grammar
 Generates values based on derivations of a formal grammar in Backus-Naur form.
 
package  examples.graphs
 Illustrates pickers generating various trees and general graphs.
 
package  examples.gui
 Examples showing pickers interacting with elements of a graphical user interface.
 
package  examples.hypersphere
 A series of simple examples showing how the same HyperspherePicker can produce points following different patterns depending on the composition of pickers given as its input arguments.
 
package  examples.mutation
 Examples showing the object mutation functionality of some pickers.
 
package  examples.oscilloscope
 Examples combining the SineWave picker with a two-dimensional PrismPicker.
 
package  examples.provenance
 Examples illustrating the explainability functionalities of Synthia.
 
package  examples.quickcheck
 Examples illustrating the shrinking functionalities of Synthia.
 
package  examples.sequences
 Examples of pickers generating sequences of objects.
 

Classes

class  ca.uqac.lif.synthia.test.Assert< T >
 
class  examples.apache.GenerateLog
 Main program that generates the simulated log file interleaving multiple visitor instances. More...
 
class  examples.apache.LogLine
 Representation of a line of Apache's access log. More...
 
class  examples.apache.VisitorPicker
 A picker producing instances of visitors. More...
 
class  examples.basic.BiasedCoin
 Uses RandomBoolean to simulate a series of biased coin tosses. More...
 
class  examples.graphs.BarabasiAlbert< T >
 Generates a graph following the Barabási–Albert model. More...
 
class  examples.graphs.PickTrees1
 
class  examples.gui.WidgetAction< T >
 A Action that performs a concrete action on a widget. More...
 
class  examples.hypersphere.Variation1
 Generates two-dimensional points lying along two concentric circles. More...
 
class  examples.hypersphere.Variation2
 Generates two-dimensional points lying at right angles along a randomly selected circle. More...
 
class  examples.hypersphere.Variation3
 Generates two-dimensional points producing a spiral pattern. More...
 
class  examples.hypersphere.Variation4
 Generates two-dimensional points lying along an oblique line. More...
 
class  examples.mutation.MutatedLists
 Illustration of mutation operations on lists and list elements. More...
 
class  examples.oscilloscope.AMRadio
 Illustrates the principle of amplitude modulation using sine wave and prism pickers. More...
 
class  examples.oscilloscope.FMRadio
 Illustrates the principle of frequency modulation using sine wave and prism pickers. More...
 
class  examples.oscilloscope.Lissajous
 Uses the SineWave picker with the PrismPicker to generate Lissajous figures on an oscilloscope screen. More...
 
class  examples.oscilloscope.Oscilloscope
 A simple JFrame that simulates the operation of an oscilloscope. More...
 
class  examples.provenance.ExplanationList1
 Demonstration of Synthia's explainability features on a wiring of pickers producing a list of points. More...
 
class  examples.provenance.ExplanationList2
 A variation of ExplanationList1 where a different explanation is requested, showing that fine-grained parts of the output can be tracked. More...
 
class  examples.quickcheck.Prime
 Simple illustration of the shrinking process on randomly generated integers. More...
 
class  examples.quickcheck.Sort
 Illustrates the shrinking process when testing a procedure that sorts lists of numbers. More...
 
class  examples.sequences.BehaviorTreeExample
 Generates a random sequence of strings whose content is defined by a behavior tree. More...
 
class  examples.sequences.MarkovSimple
 Generates a sequence of values according to a Markov chain. More...
 
class  examples.util.Utilities
 Object providing a few utility methods to simplify the examples in this project. More...
 

Detailed Description

A set of simple annotated examples illustrating the various functionalities of the library.