public class IncrementalMealyDAGBuilder.GraphView extends AbstractIncrementalMealyBuilder.AbstractGraphView<I,O,State,TransitionRecord>
Constructor and Description |
---|
GraphView() |
Modifier and Type | Method and Description |
---|---|
GraphDOTHelper<State,TransitionRecord> |
getGraphDOTHelper() |
State |
getInitialNode() |
I |
getInputSymbol(TransitionRecord edge) |
Collection<State> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
Collection<TransitionRecord> |
getOutgoingEdges(State node)
Retrieves the outgoing edges of a given node.
|
O |
getOutputSymbol(TransitionRecord edge) |
State |
getTarget(TransitionRecord edge)
Retrieves, for a given edge, its target node.
|
iterator, iterator, nodeIDs, nodeIDs, size, size
createDynamicNodeMapping, createDynamicNodeMapping, createStaticNodeMapping, createStaticNodeMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDynamicNodeMapping, createStaticNodeMapping
forEach, iterator, spliterator
public Collection<TransitionRecord> getOutgoingEdges(State node)
IndefiniteGraph
node
- the node.Collection
of all outgoing edges, or null
if
the node has no outgoing edges.public State getTarget(TransitionRecord edge)
IndefiniteGraph
edge
- the edge.public Collection<State> getNodes()
Graph
@Nullable public I getInputSymbol(TransitionRecord edge)
@Nullable public O getOutputSymbol(TransitionRecord edge)
public GraphDOTHelper<State,TransitionRecord> getGraphDOTHelper()
getGraphDOTHelper
in interface DOTPlottableGraph<State,TransitionRecord>
getGraphDOTHelper
in class AbstractIncrementalMealyBuilder.AbstractGraphView<I,O,State,TransitionRecord>
Copyright © 2015. All rights reserved.