Package net.automatalib.graph
Class CompactSimpleGraph<EP>
- java.lang.Object
-
- net.automatalib.graph.base.AbstractCompactGraph<CompactEdge<EP>,Void,EP>
-
- net.automatalib.graph.CompactSimpleGraph<EP>
-
- All Implemented Interfaces:
Iterable<Integer>
,FiniteRepresentation
,NodeIDs<Integer>
,Graph<Integer,CompactEdge<EP>>
,Graph.IntAbstraction<CompactEdge<EP>>
,IndefiniteGraph<Integer,CompactEdge<EP>>
,IndefiniteSimpleGraph<Integer>
,MutableGraph<Integer,CompactEdge<EP>,Void,EP>
,MutableGraph.IntAbstraction<CompactEdge<EP>,Void,EP>
,SimpleGraph<Integer>
,SimpleGraph.IntAbstraction
,UniversalGraph<Integer,CompactEdge<EP>,Void,EP>
,UniversalGraph.IntAbstraction<CompactEdge<EP>,Void,EP>
,UniversalIndefiniteGraph<Integer,CompactEdge<EP>,Void,EP>
public class CompactSimpleGraph<@Nullable EP> extends AbstractCompactGraph<CompactEdge<EP>,Void,EP>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.automatalib.graph.MutableGraph
MutableGraph.IntAbstraction<E,NP,EP>
-
-
Constructor Summary
Constructors Constructor Description CompactSimpleGraph()
CompactSimpleGraph(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CompactEdge<EP>
createEdge(int source, int target, @Nullable EP property)
Void
getNodeProperty(int node)
Int-abstracted version ofUniversalIndefiniteGraph.getNodeProperty(Object)
.void
setNodeProperty(int node, Void property)
Int-abstracted version ofMutableGraph.setNodeProperty(Object, Object)
.-
Methods inherited from class net.automatalib.graph.base.AbstractCompactGraph
addIntNode, addNode, connect, connect, getEdgeProperty, getIntTarget, getNode, getNodeId, getNodeProperty, getNodes, getOutgoingEdges, getOutgoingEdges, getTarget, nodeIDs, setEdgeProperty, setNodeProperty, size
-
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, getVisualizationHelper
-
Methods inherited from interface net.automatalib.graph.Graph.IntAbstraction
getEdgesBetween, getOutgoingEdgesIterator, isConnected
-
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.MutableGraph
addNode, connect
-
Methods inherited from interface net.automatalib.graph.MutableGraph.IntAbstraction
addIntNode, connect
-
Methods inherited from interface net.automatalib.graph.SimpleGraph
iterator
-
-
-
-
Method Detail
-
setNodeProperty
public void setNodeProperty(int node, Void property)
Description copied from interface:MutableGraph.IntAbstraction
Int-abstracted version ofMutableGraph.setNodeProperty(Object, Object)
.
-
getNodeProperty
public Void getNodeProperty(int node)
Description copied from interface:UniversalGraph.IntAbstraction
Int-abstracted version ofUniversalIndefiniteGraph.getNodeProperty(Object)
.
-
createEdge
protected CompactEdge<EP> createEdge(int source, int target, @Nullable EP property)
- Specified by:
createEdge
in classAbstractCompactGraph<CompactEdge<EP>,Void,EP>
-
-