 |
Synthia
Generic and flexible data structure generator
|
Go to the documentation of this file.
19 package ca.uqac.lif.synthia.util;
21 import ca.
uqac.
lif.petitpoucet.NodeFactory;
85 return f.getPartNode(p,
this);
PartNode getExplanation(Part p)
Picker<? extends T > m_picker
The underlying picker producing the values to transform.
Mutator< T > setPicker(Picker<? extends T > picker)
Sets the picker producing the values to transform.
PartNode getExplanation(Part p, NodeFactory f)
Objects related to the explanation of results produced by pickers.
void copyInto(Mutator< T > m, boolean with_state)
A picker that applies a transformation ("mutation") on the value produced by another picker.
PartNode getExplanationForOutput(int output_index, Part p, NodeFactory f)
static int mentionedOutput(Part d)
Retrieves the output sequence index mentioned in a designator.
Mutator(Picker<? extends T > picker)
Creates a new instance of mutator.
void reset()
Puts the picker back into its initial state.
void reset()
Puts the picker back into its initial state.
A Part pointing to the n-th output produced by a picker since its last call to reset().