25 int *nparts,
float *rubvec,
int *options,
int *edgecut,
37 if (options[0] == 0) {
81 int options[10], edgecut;
95 for (i=0; i<graph->
ncon; i++) {
100 METIS_mCPartGraphRecursiveInternal(&cgraph->
nvtxs, &cgraph->
ncon,
102 options, &edgecut, cgraph->
where);
104 METIS_mCHPartGraphRecursiveInternal(&cgraph->
nvtxs, &cgraph->
ncon,
106 rubvec, options, &edgecut, cgraph->
where);
110 IFSET(ctrl->
dbglvl,
DBG_IPART, printf(
"Initial %d-way partitioning cut: %d\n", nparts, edgecut));
#define MATCH_SBHEM_INFNORM
#define IFSET(a, flag, cmd)
void METIS_mCPartGraphKway(int *nvtxs, int *ncon, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *adjwgt, int *wgtflag, int *numflag, int *nparts, float *rubvec, int *options, int *edgecut, idxtype *part)
int MCMlevelKWayPartitioning(CtrlType *ctrl, GraphType *graph, int nparts, idxtype *part, float *rubvec)
#define Change2CNumbering
#define MocRefineKWayHorizontal
#define Change2FNumbering
#define MocAllocateKWayPartitionMemory
#define ComputePartitionInfo
#define AllocateWorkSpace