Module fr.univartois.cril.jkahypar
Interface Hyperedge
- All Known Implementing Classes:
UnweightedHyperedge,WeightedHyperedge
public interface Hyperedge
The Hyperedge interface defines the contract of the data structures representing the
hyperedges of a hypergraph.
-
Method Summary
-
Method Details
-
size
int size()Gives the size of this hyperedge, measured as the number of vertices it joins.- Returns:
- The size of this hyperedge.
-
getVertices
int[] getVertices()Gives the vertices that are joined by this hyperedge in the hypergraph.- Returns:
- The vertices joined by this hyperedge.
-
toString
String toString()Gives the String representation of this hyperedge in the hMetis format.
-