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

Go to the source code of this file.

Functions

void RefineKWay (CtrlType *ctrl, GraphType *orggraph, GraphType *graph, int nparts, float *tpwgts, float ubfactor)
 
void AllocateKWayPartitionMemory (CtrlType *ctrl, GraphType *graph, int nparts)
 
void ComputeKWayPartitionParams (CtrlType *ctrl, GraphType *graph, int nparts)
 
void ProjectKWayPartition (CtrlType *ctrl, GraphType *graph, int nparts)
 
int IsBalanced (idxtype *pwgts, int nparts, float *tpwgts, float ubfactor)
 
void ComputeKWayBoundary (CtrlType *ctrl, GraphType *graph, int nparts)
 
void ComputeKWayBalanceBoundary (CtrlType *ctrl, GraphType *graph, int nparts)
 

Function Documentation

◆ AllocateKWayPartitionMemory()

void AllocateKWayPartitionMemory ( CtrlType ctrl,
GraphType graph,
int  nparts 
)

◆ ComputeKWayBalanceBoundary()

void ComputeKWayBalanceBoundary ( CtrlType ctrl,
GraphType graph,
int  nparts 
)

◆ ComputeKWayBoundary()

void ComputeKWayBoundary ( CtrlType ctrl,
GraphType graph,
int  nparts 
)

◆ ComputeKWayPartitionParams()

◆ IsBalanced()

int IsBalanced ( idxtype pwgts,
int  nparts,
float *  tpwgts,
float  ubfactor 
)

Definition at line 329 of file kwayrefine.c.

References idxsum.

Referenced by RefineKWay().

◆ ProjectKWayPartition()

◆ RefineKWay()