Class MealyVisualizationHelper<S,I,T,O>
- java.lang.Object
-
- net.automatalib.visualization.DefaultVisualizationHelper<S,TransitionEdge<I,T>>
-
- net.automatalib.automaton.visualization.AutomatonVisualizationHelper<S,I,T,TransitionOutputAutomaton<S,I,T,O>>
-
- net.automatalib.automaton.visualization.MealyVisualizationHelper<S,I,T,O>
-
- All Implemented Interfaces:
VisualizationHelper<S,TransitionEdge<I,T>>
- Direct Known Subclasses:
VisualizationHelper
public class MealyVisualizationHelper<S,I,T,O> extends AutomatonVisualizationHelper<S,I,T,TransitionOutputAutomaton<S,I,T,O>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.automatalib.visualization.VisualizationHelper
VisualizationHelper.CommonAttrs, VisualizationHelper.CommonStyles, VisualizationHelper.EdgeAttrs, VisualizationHelper.EdgeStyles, VisualizationHelper.MTSEdgeAttrs, VisualizationHelper.NodeAttrs, VisualizationHelper.NodeShapes, VisualizationHelper.NodeStyles
-
-
Field Summary
-
Fields inherited from class net.automatalib.automaton.visualization.AutomatonVisualizationHelper
automaton
-
-
Constructor Summary
Constructors Constructor Description MealyVisualizationHelper(TransitionOutputAutomaton<S,I,T,O> automaton)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getEdgeProperties(S src, TransitionEdge<I,T> edge, S tgt, Map<String,String> properties)
Retrieves the properties for rendering a single edge.-
Methods inherited from class net.automatalib.automaton.visualization.AutomatonVisualizationHelper
initialNodes
-
Methods inherited from class net.automatalib.visualization.DefaultVisualizationHelper
getNodeProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.visualization.VisualizationHelper
getGlobalEdgeProperties, getGlobalNodeProperties
-
-
-
-
Constructor Detail
-
MealyVisualizationHelper
public MealyVisualizationHelper(TransitionOutputAutomaton<S,I,T,O> automaton)
-
-
Method Detail
-
getEdgeProperties
public boolean getEdgeProperties(S src, TransitionEdge<I,T> edge, S tgt, Map<String,String> properties)
Description copied from interface:VisualizationHelper
Retrieves the properties for rendering a single edge. Additionally, the return value allows to control whether to omit this edge from rendering. Iffalse
is returned, the edge will not be rendered. Consequently, any modifications to the properties map will have no effect.The properties are stored in the
Map
argument. Note that if an implementation of a base class is overridden, it is probably a good idea to callsuper.getEdgeProperties(node, properties);
at the beginning of the method.- Specified by:
getEdgeProperties
in interfaceVisualizationHelper<S,I>
- Overrides:
getEdgeProperties
in classAutomatonVisualizationHelper<S,I,T,TransitionOutputAutomaton<S,I,T,O>>
edge
- the edge to be renderedproperties
- the property map- Returns:
- whether this edge should be rendered
-
-