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, waitasNormalGraphadjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStreamiterator, nodeIDs, nodesStream, sizeadjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnectedforEach, spliteratorpublic Collection<TransitionRecord> getOutgoingEdges(State node)
IndefiniteGraphnode - the node.Collection of all outgoing edges, or null if the node has no outgoing edges.public State getTarget(TransitionRecord edge)
IndefiniteGraphedge - 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.