public interface Hypergraph extends ArchetypeGraph
UserDataContainer.CopyAction
SUBSET_MANAGER
Modifier and Type | Method and Description |
---|---|
Hyperedge |
addEdge(Hyperedge e)
Adds
e to this graph, and returns
a reference to the added edge. |
Hypervertex |
addVertex(Hypervertex v)
Adds
v to this graph, and returns
a reference to the added vertex. |
void |
removeEdge(Hyperedge e)
Removes
e from this graph. |
void |
removeVertex(Hypervertex v)
Removes
v from this graph. |
addListener, copy, getEdgeConstraints, getEdges, getVertexConstraints, getVertices, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeEdges, removeListener, removeVertices
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum
Hypervertex addVertex(Hypervertex v)
v
to this graph, and returns
a reference to the added vertex.Hyperedge addEdge(Hyperedge e)
e
to this graph, and returns
a reference to the added edge.void removeEdge(Hyperedge e)
e
from this graph. Throws
IllegalArgumentException
if e
is not
in this graph.void removeVertex(Hypervertex v)
v
from this graph. Throws
IllegalArgumentException
if v
is not
in this graph.