public class IncrementalMealyDAGBuilder.GraphView extends AbstractIncrementalMealyBuilder.AbstractGraphView<I,O,State,TransitionRecord>
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>>
Constructor and Description |
---|
GraphView() |
Modifier and Type | Method and Description |
---|---|
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.
|
VisualizationHelper<State,TransitionRecord> |
getVisualizationHelper() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asNormalGraph
adjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStream
iterator, nodeIDs, nodesStream, size
adjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnected
forEach, 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()
SimpleGraph
@Nullable public I getInputSymbol(TransitionRecord edge)
@Nullable public O getOutputSymbol(TransitionRecord edge)
public VisualizationHelper<State,TransitionRecord> getVisualizationHelper()
getVisualizationHelper
in interface Graph<State,TransitionRecord>
getVisualizationHelper
in interface SimpleGraph<State>
getVisualizationHelper
in class AbstractIncrementalMealyBuilder.AbstractGraphView<I,O,State,TransitionRecord>
Copyright © 2018. All rights reserved.