
Go to the source code of this file.
Functions | |
| void | MocBalance2Way (CtrlType *ctrl, GraphType *graph, floattype *tpwgts, floattype lbfactor) |
| void | MocGeneral2WayBalance (CtrlType *ctrl, GraphType *graph, floattype *tpwgts, floattype lbfactor) |
Definition at line 22 of file mbalance.c.
References Compute2WayHLoadImbalance(), MocGeneral2WayBalance(), graphdef::ncon, and graphdef::npwgts.
Referenced by MocGrowBisection(), MocRandomBisection(), and MocRefine2Way().
| void MocGeneral2WayBalance | ( | CtrlType * | ctrl, | |
| GraphType * | graph, | |||
| floattype * | tpwgts, | |||
| floattype | lbfactor | |||
| ) |
Definition at line 36 of file mbalance.c.
References graphdef::adjncy, graphdef::adjwgt, BetterBalance(), graphdef::bndind, graphdef::bndptr, CheckBnd(), Compute2WayHLoadImbalance(), ComputeCut(), controldef::dbglvl, graphdef::ed, graphdef::id, idxset(), idxwspacefree(), idxwspacemalloc(), graphdef::mincut, graphdef::nbnd, graphdef::ncon, graphdef::npwgts, graphdef::nvtxs, graphdef::nvwgt, PQueueFree(), PQueueGetMax(), PQueueInit(), PQueueInsert(), PQueueUpdate(), printf(), RandomPermute(), samax(), samax2(), saxpy(), SelectQueue(), graphdef::where, and graphdef::xadj.
Referenced by MocBalance2Way().
1.5.5