PPL Logo

libs/ck-libs/parmetis/METISLib/mfm2.c File Reference

Go to the source code of this file.

Functions

void MocFM_2WayEdgeRefine2 (CtrlType *ctrl, GraphType *graph, floattype *tpwgts, floattype *orgubvec, int npasses)
void SelectQueue2 (int ncon, floattype *npwgts, floattype *tpwgts, int *from, int *cnum, PQueueType queues[MAXNCON][2], floattype *maxwgt)
int IsBetter2wayBalance (int ncon, floattype *newbal, floattype *oldbal, floattype *ubvec)


Function Documentation

void MocFM_2WayEdgeRefine2 ( CtrlType ctrl,
GraphType graph,
floattype tpwgts,
floattype orgubvec,
int  npasses 
)

void SelectQueue2 ( int  ncon,
floattype npwgts,
floattype tpwgts,
int from,
int cnum,
PQueueType  queues[MAXNCON][2],
floattype maxwgt 
)

Definition at line 263 of file mfm2.c.

References diff, max(), PQueueGetKey(), and PQueueGetSize().

Referenced by MocFM_2WayEdgeRefine2().

int IsBetter2wayBalance ( int  ncon,
floattype newbal,
floattype oldbal,
floattype ubvec 
)

Definition at line 326 of file mfm2.c.

Referenced by MocFM_2WayEdgeRefine2(), and MocGeneral2WayBalance2().


Generated on Sat May 26 08:08:10 2012 for Charm++ by  doxygen 1.5.5