ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
mfm2.c File Reference
#include "metis.h"
Include dependency graph for mfm2.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ IsBetter2wayBalance()

int IsBetter2wayBalance ( int  ncon,
float *  newbal,
float *  oldbal,
float *  ubvec 
)

Definition at line 326 of file mfm2.c.

Referenced by MocFM_2WayEdgeRefine2().

◆ MocFM_2WayEdgeRefine2()

◆ SelectQueue2()

void SelectQueue2 ( int  ncon,
float *  npwgts,
float *  tpwgts,
int *  from,
int *  cnum,
PQueueType  queues[16][2],
float *  maxwgt 
)

Definition at line 263 of file mfm2.c.

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

Referenced by MocFM_2WayEdgeRefine2().