@ParametersAreNonnullByDefault public class IncrementalDFATreeBuilder.GraphView extends AbstractIncrementalDFABuilder.AbstractGraphView<I,Node<I>,Edge<I>>
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>>
Constructor and Description |
---|
GraphView() |
Modifier and Type | Method and Description |
---|---|
Acceptance |
getAcceptance(Node<I> node) |
Node<I> |
getInitialNode() |
I |
getInputSymbol(Edge<I> edge) |
Collection<Node<I>> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
Collection<Edge<I>> |
getOutgoingEdges(Node<I> node)
Retrieves the outgoing edges of a given node.
|
Node<I> |
getTarget(Edge<I> edge)
Retrieves, for a given edge, its target node.
|
VisualizationHelper<Node<I>,Edge<I>> |
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<Node<I>> getNodes()
SimpleGraph
public Collection<Edge<I>> getOutgoingEdges(Node<I> node)
IndefiniteGraph
node
- the node.Collection
of all outgoing edges, or null
if the node has no outgoing edges.@Nonnull public Node<I> getTarget(Edge<I> edge)
IndefiniteGraph
edge
- the edge.@Nonnull public Acceptance getAcceptance(Node<I> node)
@Nonnull public VisualizationHelper<Node<I>,Edge<I>> getVisualizationHelper()
getVisualizationHelper
in interface Graph<Node<I>,Edge<I>>
getVisualizationHelper
in interface SimpleGraph<Node<I>>
getVisualizationHelper
in class AbstractIncrementalDFABuilder.AbstractGraphView<I,Node<I>,Edge<I>>
Copyright © 2018. All rights reserved.