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

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.uci.ics.jung.utils.UserDataContainer
UserDataContainer.CopyAction
 
Field Summary
 
Fields inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph
SUBSET_MANAGER
 
Method Summary
 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.
 
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeGraph
addListener, copy, getEdgeConstraints, getEdges, getVertexConstraints, getVertices, newInstance, numEdges, numVertices, removeAllEdges, removeAllVertices, removeEdges, removeListener, removeVertices
 
Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum
 

Method Detail

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.