![]() |
Synthia
Generic and flexible data structure generator
|
Takes the numerical value of a picker, and offsets it by an amount determined by another picker.
Definition at line 28 of file Offset.java.

Public Member Functions | |
| Offset (Picker<? extends Number > picker, Picker<? extends Number > offset) | |
| Creates a new offset instance. More... | |
| Float | pick () |
| Offset | duplicate (boolean with_state) |
Public Member Functions inherited from ca.uqac.lif.synthia.util.Mutator< Number > | |
| Mutator (Picker<? extends T > picker) | |
| Creates a new instance of mutator. More... | |
| Mutator< T > | setPicker (Picker<? extends T > picker) |
| Sets the picker producing the values to transform. More... | |
| void | reset () |
| Puts the picker back into its initial state. More... | |
| PartNode | getExplanation (Part p) |
| PartNode | getExplanation (Part p, NodeFactory f) |
Protected Attributes | |
| Picker<? extends Number > | m_offset |
| The picker determining the offset of each value. More... | |
Protected Attributes inherited from ca.uqac.lif.synthia.util.Mutator< Number > | |
| Picker<? extends T > | m_picker |
| The underlying picker producing the values to transform. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ca.uqac.lif.synthia.util.Mutator< Number > | |
| PartNode | getExplanationForOutput (int output_index, Part p, NodeFactory f) |
| void | copyInto (Mutator< T > m, boolean with_state) |
| ca.uqac.lif.synthia.util.Offset.Offset | ( | Picker<? extends Number > | picker, |
| Picker<? extends Number > | offset | ||
| ) |
Creates a new offset instance.
| picker | The underlying picker producing the values to transform |
| offset | The picker determining the offset of each output value |
Definition at line 40 of file Offset.java.
| Offset ca.uqac.lif.synthia.util.Offset.duplicate | ( | boolean | with_state | ) |
Definition at line 55 of file Offset.java.
| Float ca.uqac.lif.synthia.util.Offset.pick | ( | ) |
Definition at line 47 of file Offset.java.
|
protected |
The picker determining the offset of each value.
Definition at line 33 of file Offset.java.