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

Go to the source code of this file.

Functions

float ComputeRAsso (GraphType *graph, idxtype *where, int npart)
 
float ComputeNCut (GraphType *graph, idxtype *where, int npart)
 
int ComputeCut (GraphType *graph, idxtype *where)
 
int CheckBnd (GraphType *graph)
 
int CheckBnd2 (GraphType *graph)
 
int CheckNodeBnd (GraphType *graph, int onbnd)
 
int CheckRInfo (RInfoType *rinfo)
 
int CheckNodePartitionParams (GraphType *graph)
 
int IsSeparable (GraphType *graph)
 

Function Documentation

◆ CheckBnd()

◆ CheckBnd2()

◆ CheckNodeBnd()

int CheckNodeBnd ( GraphType graph,
int  onbnd 
)

◆ CheckNodePartitionParams()

int CheckNodePartitionParams ( GraphType graph)

◆ CheckRInfo()

int CheckRInfo ( RInfoType rinfo)

Definition at line 252 of file debug.c.

References ASSERTP, rinfodef::edegrees, rinfodef::ndegrees, and edegreedef::pid.

◆ ComputeCut()

int ComputeCut ( GraphType graph,
idxtype where 
)

Definition at line 119 of file debug.c.

References graphdef::adjncy, graphdef::adjwgt, NULL, graphdef::nvtxs, and graphdef::xadj.

◆ ComputeNCut()

float ComputeNCut ( GraphType graph,
idxtype where,
int  npart 
)

Definition at line 67 of file debug.c.

References graphdef::adjncy, graphdef::adjwgt, idxsmalloc, NULL, graphdef::nvtxs, result, and graphdef::xadj.

Referenced by MLKKMRefine().

◆ ComputeRAsso()

float ComputeRAsso ( GraphType graph,
idxtype where,
int  npart 
)

Definition at line 20 of file debug.c.

References graphdef::adjncy, graphdef::adjwgt, clusterSize(), idxsmalloc, NULL, graphdef::nvtxs, result, and graphdef::xadj.

Referenced by MLKKMRefine().

◆ IsSeparable()

int IsSeparable ( GraphType graph)

Definition at line 316 of file debug.c.

References graphdef::adjncy, ASSERTP, graphdef::nvtxs, graphdef::where, and graphdef::xadj.