edu.uci.ics.jung.graph
Interface Hypergraph
- All Superinterfaces:
- ArchetypeGraph, Cloneable, UserDataContainer
- All Known Implementing Classes:
- HypergraphBPG, SetHypergraph
public interface Hypergraph
- extends ArchetypeGraph
A Hypergraph consists of hypervertices and hyperedges.
Hyperedges connect arbitrary Sets of hypervertices
together.
- Author:
- danyelf
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph |
addListener, copy, getEdgeConstraints, getEdges, getVertexConstraints, getVertices, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeEdges, removeListener, removeVertices |
addVertex
Hypervertex addVertex(Hypervertex v)
- Adds
v
to this graph, and returns
a reference to the added vertex.
addEdge
Hyperedge addEdge(Hyperedge e)
- Adds
e
to this graph, and returns
a reference to the added edge.
removeEdge
void removeEdge(Hyperedge e)
- Removes
e
from this graph. Throws
IllegalArgumentException
if e
is not
in this graph.
removeVertex
void removeVertex(Hypervertex v)
- Removes
v
from this graph. Throws
IllegalArgumentException
if v
is not
in this graph.