Package net.automatalib.automaton.vpa
Class SEVPAGraphView<L,I>
- java.lang.Object
-
- net.automatalib.automaton.vpa.SEVPAGraphView<L,I>
-
- All Implemented Interfaces:
Iterable<L>,FiniteRepresentation,Graph<L,SEVPAGraphView.SevpaViewEdge<L,I>>,IndefiniteGraph<L,SEVPAGraphView.SevpaViewEdge<L,I>>,IndefiniteSimpleGraph<L>,SimpleGraph<L>
public class SEVPAGraphView<L,I> extends Object implements Graph<L,SEVPAGraphView.SevpaViewEdge<L,I>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSEVPAGraphView.SevpaViewEdge<S,I>-
Nested classes/interfaces inherited from interface net.automatalib.graph.Graph
Graph.IntAbstraction<E>
-
-
Constructor Summary
Constructors Constructor Description SEVPAGraphView(SEVPA<L,I> sevpa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<L>getNodes()Retrieves an (unmodifiable) collection of the nodes in this graph.Collection<SEVPAGraphView.SevpaViewEdge<L,I>>getOutgoingEdges(L location)Retrieves, for a given node, the (finite) collection of all outgoing edges.LgetTarget(SEVPAGraphView.SevpaViewEdge<L,I> edge)Retrieves, for a given edge, its target node.VisualizationHelper<L,SEVPAGraphView.SevpaViewEdge<L,I>>getVisualizationHelper()Returns theVisualizationHelperthat contains information for displaying this graph.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.graph.Graph
getAdjacentNodes, getOutgoingEdgesIterator
-
Methods inherited from interface net.automatalib.graph.IndefiniteGraph
getAdjacentNodesIterator, getEdgesBetween
-
Methods inherited from interface net.automatalib.graph.IndefiniteSimpleGraph
createDynamicNodeMapping, createStaticNodeMapping, isConnected
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface net.automatalib.graph.SimpleGraph
iterator, nodeIDs, size
-
-
-
-
Method Detail
-
getNodes
public Collection<L> getNodes()
Description copied from interface:SimpleGraphRetrieves an (unmodifiable) collection of the nodes in this graph.- Specified by:
getNodesin interfaceSimpleGraph<L>- Returns:
- the nodes in this graph
-
getOutgoingEdges
public Collection<SEVPAGraphView.SevpaViewEdge<L,I>> getOutgoingEdges(L location)
Description copied from interface:GraphRetrieves, for a given node, the (finite) collection of all outgoing edges.- Specified by:
getOutgoingEdgesin interfaceGraph<L,I>- Parameters:
location- the node- Returns:
- a collection containing the outgoing edges
-
getTarget
public L getTarget(SEVPAGraphView.SevpaViewEdge<L,I> edge)
Description copied from interface:IndefiniteGraphRetrieves, for a given edge, its target node.- Specified by:
getTargetin interfaceIndefiniteGraph<L,I>- Parameters:
edge- the edge.- Returns:
- the target node of the given edge.
-
getVisualizationHelper
public VisualizationHelper<L,SEVPAGraphView.SevpaViewEdge<L,I>> getVisualizationHelper()
Description copied from interface:SimpleGraphReturns theVisualizationHelperthat contains information for displaying this graph.- Specified by:
getVisualizationHelperin interfaceGraph<L,I>- Specified by:
getVisualizationHelperin interfaceSimpleGraph<L>- Returns:
- the visualization helper
-
-