PPL Logo

libs/ck-libs/parmetis/ParMETISLib/serial.c File Reference

Go to the source code of this file.

Functions

void Moc_SerialKWayAdaptRefine (GraphType *graph, int nparts, idxtype *home, floattype *orgubvec, int npasses)
void Moc_ComputeSerialPartitionParams (GraphType *graph, int nparts, EdgeType *degrees)
int AreAllHVwgtsBelow (int ncon, floattype alpha, floattype *vwgt1, floattype beta, floattype *vwgt2, floattype *limit)
void ComputeHKWayLoadImbalance (int ncon, int nparts, floattype *npwgts, floattype *lbvec)
void SerialRemap (GraphType *graph, int nparts, idxtype *base, idxtype *scratch, idxtype *remap, floattype *tpwgts)
int SSMIncKeyCmp (const void *fptr, const void *sptr)
void Moc_Serial_FM_2WayRefine (GraphType *graph, floattype *tpwgts, int npasses)
void Serial_SelectQueue (int ncon, floattype *npwgts, floattype *tpwgts, int *from, int *cnum, FPQueueType queues[MAXNCON][2])
int Serial_BetterBalance (int ncon, floattype *npwgts, floattype *tpwgts, floattype *diff)
floattype Serial_Compute2WayHLoadImbalance (int ncon, floattype *npwgts, floattype *tpwgts)
void Moc_Serial_Balance2Way (GraphType *graph, floattype *tpwgts, floattype lbfactor)
void Moc_Serial_Init2WayBalance (GraphType *graph, floattype *tpwgts)
int Serial_SelectQueueOneWay (int ncon, floattype *npwgts, floattype *tpwgts, int from, FPQueueType queues[MAXNCON][2])
void Moc_Serial_Compute2WayPartitionParams (GraphType *graph)
int Serial_AreAnyVwgtsBelow (int ncon, floattype alpha, floattype *vwgt1, floattype beta, floattype *vwgt2, floattype *limit)
int ComputeSerialEdgeCut (GraphType *graph)
int ComputeSerialTotalV (GraphType *graph, idxtype *home)


Function Documentation

void Moc_SerialKWayAdaptRefine ( GraphType graph,
int  nparts,
idxtype home,
floattype orgubvec,
int  npasses 
)

void Moc_ComputeSerialPartitionParams ( GraphType graph,
int  nparts,
EdgeType degrees 
)

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

Definition at line 312 of file serial.c.

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

Definition at line 328 of file serial.c.

References max().

void SerialRemap ( GraphType graph,
int  nparts,
idxtype base,
idxtype scratch,
idxtype remap,
floattype tpwgts 
)

int SSMIncKeyCmp ( const void *  fptr,
const void *  sptr 
)

Definition at line 484 of file serial.c.

References KeyKeyValueType::key1, and KeyKeyValueType::key2.

Referenced by SerialRemap().

void Moc_Serial_FM_2WayRefine ( GraphType graph,
floattype tpwgts,
int  npasses 
)

void Serial_SelectQueue ( int  ncon,
floattype npwgts,
floattype tpwgts,
int from,
int cnum,
FPQueueType  queues[MAXNCON][2] 
)

int Serial_BetterBalance ( int  ncon,
floattype npwgts,
floattype tpwgts,
floattype diff 
)

Definition at line 770 of file serial.c.

References snorm2().

Referenced by Moc_Serial_Balance2Way(), and Moc_Serial_FM_2WayRefine().

floattype Serial_Compute2WayHLoadImbalance ( int  ncon,
floattype npwgts,
floattype tpwgts 
)

Definition at line 786 of file serial.c.

References max().

Referenced by Moc_Serial_Balance2Way(), and Moc_Serial_FM_2WayRefine().

void Moc_Serial_Balance2Way ( GraphType graph,
floattype tpwgts,
floattype  lbfactor 
)

void Moc_Serial_Init2WayBalance ( GraphType graph,
floattype tpwgts 
)

int Serial_SelectQueueOneWay ( int  ncon,
floattype npwgts,
floattype tpwgts,
int  from,
FPQueueType  queues[MAXNCON][2] 
)

Definition at line 1132 of file serial.c.

References FPQueueGetQSize(), and max().

Referenced by Moc_Serial_Init2WayBalance().

void Moc_Serial_Compute2WayPartitionParams ( GraphType graph  ) 

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

Definition at line 1206 of file serial.c.

Referenced by Moc_Serial_Init2WayBalance().

int ComputeSerialEdgeCut ( GraphType graph  ) 

int ComputeSerialTotalV ( GraphType graph,
idxtype home 
)

Definition at line 1239 of file serial.c.

References graphdef::nvtxs, graphdef::vsize, graphdef::vwgt, and graphdef::where.


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