Module net.automatalib.api
Package net.automatalib.graph
Interface MutableGraph.IntAbstraction<E,NP,EP>
-
- Type Parameters:
E- edge typeNP- node property typeEP- edge property type
- All Superinterfaces:
FiniteRepresentation,Graph.IntAbstraction<E>,SimpleGraph.IntAbstraction,UniversalGraph.IntAbstraction<E,NP,EP>
- All Known Implementing Classes:
AbstractCompactGraph,AbstractCompactUniversalBidiGraph,AbstractCompactUniversalGraph,CompactGraph,CompactPMPG,CompactSimpleBidiGraph,CompactSimpleGraph,CompactUniversalBidiGraph,CompactUniversalGraph,WitnessTree
- Enclosing interface:
- MutableGraph<N,E,NP,EP>
public static interface MutableGraph.IntAbstraction<E,NP,EP> extends UniversalGraph.IntAbstraction<E,NP,EP>
Interface fornode integer abstractionsof aMutableGraph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intaddIntNode()Int-abstracted version ofMutableGraph.addNode().intaddIntNode(@Nullable NP property)Int-abstracted version ofMutableGraph.addNode(Object).Econnect(int source, int target, EP property)Int-abstracted version ofMutableGraph.connect(Object, Object, Object).voidsetEdgeProperty(E edge, EP property)Int-abstracted version ofMutableGraph.setEdgeProperty(Object, Object).voidsetNodeProperty(int node, NP property)Int-abstracted version ofMutableGraph.setNodeProperty(Object, Object).-
Methods inherited from interface net.automatalib.automaton.concept.FiniteRepresentation
size
-
Methods inherited from interface net.automatalib.graph.Graph.IntAbstraction
getEdgesBetween, getIntTarget, getOutgoingEdges, getOutgoingEdgesIterator, isConnected
-
Methods inherited from interface net.automatalib.graph.UniversalGraph.IntAbstraction
getEdgeProperty, getNodeProperty
-
-
-
-
Method Detail
-
addIntNode
default int addIntNode()
Int-abstracted version ofMutableGraph.addNode().- Returns:
- the (int-abstracted) id of the newly inserted node
-
addIntNode
int addIntNode(@Nullable NP property)
Int-abstracted version ofMutableGraph.addNode(Object).- Parameters:
property- the property of the new node- Returns:
- the (int-abstracted) id of the newly inserted node
-
connect
E connect(int source, int target, EP property)
Int-abstracted version ofMutableGraph.connect(Object, Object, Object).- Parameters:
source- the (int-abstracted) id of the source nodetarget- the (int-abstracted) id of the target nodeproperty- the property of the edge- Returns:
- the newly created edge
-
setNodeProperty
void setNodeProperty(int node, NP property)Int-abstracted version ofMutableGraph.setNodeProperty(Object, Object).- Parameters:
node- the (int-abstracted) id of the nodeproperty- the property of the node
-
setEdgeProperty
void setEdgeProperty(E edge, EP property)
Int-abstracted version ofMutableGraph.setEdgeProperty(Object, Object).- Parameters:
edge- the edgeproperty- the property of the edge
-
-