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 for
node integer abstractions of a MutableGraph.-
Method Summary
Modifier and TypeMethodDescriptiondefault intInt-abstracted version ofMutableGraph.addNode().intaddIntNode(@Nullable NP property) Int-abstracted version ofMutableGraph.addNode(Object).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
sizeMethods inherited from interface net.automatalib.graph.Graph.IntAbstraction
getEdgesBetween, getIntTarget, getOutgoingEdges, getOutgoingEdgesIterator, isConnectedMethods inherited from interface net.automatalib.graph.UniversalGraph.IntAbstraction
getEdgeProperty, getNodeProperty
-
Method Details
-
addIntNode
default int addIntNode()Int-abstracted version ofMutableGraph.addNode().- Returns:
- the (int-abstracted) id of the newly inserted node
-
addIntNode
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
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
Int-abstracted version ofMutableGraph.setNodeProperty(Object, Object).- Parameters:
node- the (int-abstracted) id of the nodeproperty- the property of the node
-
setEdgeProperty
Int-abstracted version ofMutableGraph.setEdgeProperty(Object, Object).- Parameters:
edge- the edgeproperty- the property of the edge
-