// Calculate the total number of edges that the vertex is involved in, and use it as the weight.
/// Adds an edge to the hypergraph, while ensuring that it is not a self-loop, empty, or duplicated.
// Get path relative to the current executable, and obtain a path to the `kahypar.ini` configuration file.
fn run_kahypar(kahypar_path: &Path, kahypar_ini_path: &Path, hypergraph: &Hypergraph) -> Result<(), MercError> {