PPL Logo

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

Go to the source code of this file.

Functions

void MCRandom_KWayEdgeRefineHorizontal (CtrlType *ctrl, GraphType *graph, int nparts, floattype *orgubvec, int npasses)
void MCGreedy_KWayEdgeBalanceHorizontal (CtrlType *ctrl, GraphType *graph, int nparts, floattype *ubvec, int npasses)
int AreAllHVwgtsBelow (int ncon, floattype alpha, floattype *vwgt1, floattype beta, floattype *vwgt2, floattype *limit)
int AreAllHVwgtsAbove (int ncon, floattype alpha, floattype *vwgt1, floattype beta, floattype *vwgt2, floattype *limit)
void ComputeHKWayLoadImbalance (int ncon, int nparts, floattype *npwgts, floattype *lbvec)
int MocIsHBalanced (int ncon, int nparts, floattype *npwgts, floattype *ubvec)
int IsHBalanceBetterFT (int ncon, int nparts, floattype *pfrom, floattype *pto, floattype *vwgt, floattype *ubvec)
int IsHBalanceBetterTT (int ncon, int nparts, floattype *pt1, floattype *pt2, floattype *vwgt, floattype *ubvec)


Function Documentation

void MCRandom_KWayEdgeRefineHorizontal ( CtrlType ctrl,
GraphType graph,
int  nparts,
floattype orgubvec,
int  npasses 
)

void MCGreedy_KWayEdgeBalanceHorizontal ( CtrlType ctrl,
GraphType graph,
int  nparts,
floattype ubvec,
int  npasses 
)

int AreAllHVwgtsBelow ( int  ncon,
floattype  alpha,
floattype vwgt1,
floattype  beta,
floattype vwgt2,
floattype limit 
)

int AreAllHVwgtsAbove ( int  ncon,
floattype  alpha,
floattype vwgt1,
floattype  beta,
floattype vwgt2,
floattype limit 
)

Definition at line 529 of file mkwayfmh.c.

Referenced by MCGreedy_KWayEdgeBalanceHorizontal().

void ComputeHKWayLoadImbalance ( int  ncon,
int  nparts,
floattype npwgts,
floattype lbvec 
)

int MocIsHBalanced ( int  ncon,
int  nparts,
floattype npwgts,
floattype ubvec 
)

Definition at line 565 of file mkwayfmh.c.

References max().

Referenced by MCGreedy_KWayEdgeBalanceHorizontal(), and MocRefineKWayHorizontal().

int IsHBalanceBetterFT ( int  ncon,
int  nparts,
floattype pfrom,
floattype pto,
floattype vwgt,
floattype ubvec 
)

int IsHBalanceBetterTT ( int  ncon,
int  nparts,
floattype pt1,
floattype pt2,
floattype vwgt,
floattype ubvec 
)


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