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

Go to the source code of this file.

Functions

void ComputePartitionInfo (GraphType *graph, int nparts, idxtype *where)
 
void ComputePartitionInfoBipartite (GraphType *graph, int nparts, idxtype *where)
 
void ComputePartitionBalance (GraphType *graph, int nparts, idxtype *where, float *ubvec)
 
float ComputeElementBalance (int ne, int nparts, idxtype *where)
 

Function Documentation

◆ ComputeElementBalance()

float ComputeElementBalance ( int  ne,
int  nparts,
idxtype where 
)

Definition at line 270 of file stat.c.

References balance(), idxamax, idxsmalloc, and idxsum.

◆ ComputePartitionBalance()

void ComputePartitionBalance ( GraphType graph,
int  nparts,
idxtype where,
float *  ubvec 
)

Definition at line 235 of file stat.c.

References balance(), idxamax, idxset, idxsmalloc, idxsum, graphdef::ncon, NULL, graphdef::nvtxs, and graphdef::vwgt.

◆ ComputePartitionInfo()

◆ ComputePartitionInfoBipartite()

void ComputePartitionInfoBipartite ( GraphType graph,
int  nparts,
idxtype where 
)