Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 inherited from class 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

    public Hypervertex addVertex(Hypervertex v)

  Adds `v` to this graph, and returns a reference to the added vertex.

### addEdge

    public Hyperedge addEdge(Hyperedge e)

  Adds `e` to this graph, and returns a reference to the added edge.

### removeEdge

    public void removeEdge(Hyperedge e)

  Removes `e` from this graph. Throws `IllegalArgumentException` if `e` is not in this graph.

### removeVertex

    public void removeVertex(Hypervertex v)

  Removes `v` from this graph. Throws `IllegalArgumentException` if `v` is not in this graph.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD