This program heuristically solves the k-cut problem in a hypergraph using a Gomory-Hu Tree.
makefileis provided:
The program takes 3 input parameters:
Example of usage:
./ght data/example2.txt 3 1
Number of vertices (indexed from 0)
Number of hyperedges
List of hyperedges (one per line)
Weight of hyperedges (one per line)
Example:
Example of a hypergraph with 5 vertices and 4 hyperedges.
The data file contains:
5 4 0 1 2 0 3 4 3 2 1 3 4 6 5 2 10