hp2FEM
0.1
|
The top-level routines for multilevel k-way partitioning that minimizes the edge cut. More...
#include "metislib.h"
Functions | |
int | METIS_PartGraphKway (idx_t *nvtxs, idx_t *ncon, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *vsize, idx_t *adjwgt, idx_t *nparts, real_t *tpwgts, real_t *ubvec, idx_t *options, idx_t *objval, idx_t *part) |
idx_t | MlevelKWayPartitioning (ctrl_t *ctrl, graph_t *graph, idx_t *part) |
void | InitKWayPartitioning (ctrl_t *ctrl, graph_t *graph) |
The top-level routines for multilevel k-way partitioning that minimizes the edge cut.
$Id: kmetis.c 10567 2011-07-13 16:17:07Z karypis $
void InitKWayPartitioning | ( | ctrl_t * | ctrl, |
graph_t * | graph | ||
) |
This function computes the initial k-way partitioning using PMETIS
int METIS_PartGraphKway | ( | idx_t * | nvtxs, |
idx_t * | ncon, | ||
idx_t * | xadj, | ||
idx_t * | adjncy, | ||
idx_t * | vwgt, | ||
idx_t * | vsize, | ||
idx_t * | adjwgt, | ||
idx_t * | nparts, | ||
real_t * | tpwgts, | ||
real_t * | ubvec, | ||
idx_t * | options, | ||
idx_t * | objval, | ||
idx_t * | part | ||
) |
This function is the entry point for MCKMETIS
idx_t MlevelKWayPartitioning | ( | ctrl_t * | ctrl, |
graph_t * | graph, | ||
idx_t * | part | ||
) |
This function computes a k-way partitioning of a graph that minimizes the specified objective function.
ctrl | is the control structure |
graph | is the graph to be partitioned |
part | is the vector that on return will store the partitioning |