public class AbstractIncrementalDFADAGBuilder.GraphView extends AbstractIncrementalDFABuilder.AbstractGraphView<I,net.automatalib.incremental.dfa.dag.State,net.automatalib.incremental.dfa.dag.EdgeRecord>
SimpleGraph.NormalGraphView<N,G extends SimpleGraph<N>>
Constructor and Description |
---|
GraphView() |
Modifier and Type | Method and Description |
---|---|
Acceptance |
getAcceptance(net.automatalib.incremental.dfa.dag.State node) |
net.automatalib.incremental.dfa.dag.State |
getInitialNode() |
I |
getInputSymbol(net.automatalib.incremental.dfa.dag.EdgeRecord edge) |
Collection<net.automatalib.incremental.dfa.dag.State> |
getNodes()
Retrieves an (unmodifiable) collection of the nodes in this graph.
|
Collection<net.automatalib.incremental.dfa.dag.EdgeRecord> |
getOutgoingEdges(net.automatalib.incremental.dfa.dag.State node)
Retrieves the outgoing edges of a given node.
|
net.automatalib.incremental.dfa.dag.State |
getTarget(net.automatalib.incremental.dfa.dag.EdgeRecord edge)
Retrieves, for a given edge, its target node.
|
VisualizationHelper<net.automatalib.incremental.dfa.dag.State,net.automatalib.incremental.dfa.dag.EdgeRecord> |
getVisualizationHelper() |
int |
size()
Retrieves the number of nodes of this graph.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asNormalGraph
adjacentTargetsIterator, adjacentTargetsStream, getAdjacentTargets, getEdgesBetween, outgoingEdges, outgoingEdgesIterator, outgoingEdgesStream
iterator, nodeIDs, nodesStream
adjacentTargets, createDynamicNodeMapping, createStaticNodeMapping, isConnected
forEach, spliterator
public int size()
SimpleGraph
public Collection<net.automatalib.incremental.dfa.dag.State> getNodes()
SimpleGraph
public Collection<net.automatalib.incremental.dfa.dag.EdgeRecord> getOutgoingEdges(net.automatalib.incremental.dfa.dag.State node)
IndefiniteGraph
node
- the node.Collection
of all outgoing edges, or null
if the node has no outgoing edges.public net.automatalib.incremental.dfa.dag.State getTarget(net.automatalib.incremental.dfa.dag.EdgeRecord edge)
IndefiniteGraph
edge
- the edge.public I getInputSymbol(net.automatalib.incremental.dfa.dag.EdgeRecord edge)
public Acceptance getAcceptance(net.automatalib.incremental.dfa.dag.State node)
public net.automatalib.incremental.dfa.dag.State getInitialNode()
public VisualizationHelper<net.automatalib.incremental.dfa.dag.State,net.automatalib.incremental.dfa.dag.EdgeRecord> getVisualizationHelper()
getVisualizationHelper
in interface Graph<net.automatalib.incremental.dfa.dag.State,net.automatalib.incremental.dfa.dag.EdgeRecord>
getVisualizationHelper
in interface SimpleGraph<net.automatalib.incremental.dfa.dag.State>
getVisualizationHelper
in class AbstractIncrementalDFABuilder.AbstractGraphView<I,net.automatalib.incremental.dfa.dag.State,net.automatalib.incremental.dfa.dag.EdgeRecord>
Copyright © 2020. All rights reserved.