@ParametersAreNonnullByDefault public class IncrementalDFATreeBuilder.GraphView extends AbstractIncrementalDFABuilder.AbstractGraphView<I,Node<I>,Edge<I>>
Constructor and Description |
---|
GraphView() |
Modifier and Type | Method and Description |
---|---|
Acceptance |
getAcceptance(Node<I> node) |
GraphDOTHelper<Node<I>,Edge<I>> |
getGraphDOTHelper() |
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.
|
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<Node<I>> getNodes()
Graph
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 GraphDOTHelper<Node<I>,Edge<I>> getGraphDOTHelper()
getGraphDOTHelper
in interface DOTPlottableGraph<Node<I>,Edge<I>>
getGraphDOTHelper
in class AbstractIncrementalDFABuilder.AbstractGraphView<I,Node<I>,Edge<I>>
Copyright © 2015. All rights reserved.