Module fr.univartois.cril.jkahypar
Class WeightedHyperedge
java.lang.Object
fr.univartois.cril.jkahypar.hypergraph.WeightedHyperedge
- All Implemented Interfaces:
Hyperedge
The WeightedHyperedge decorates a
Hyperedge so as to consider its weight.-
Method Summary
-
Method Details
-
size
public int size()Description copied from interface:HyperedgeGives the size of this hyperedge, measured as the number of vertices it joins. -
getVertices
public int[] getVertices()Description copied from interface:HyperedgeGives the vertices that are joined by this hyperedge in the hypergraph.- Specified by:
getVerticesin interfaceHyperedge- Returns:
- The vertices joined by this hyperedge.
-
toString
Description copied from interface:HyperedgeGives the String representation of this hyperedge in the hMetis format.
-