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

Go to the source code of this file.

Functions

void SetUpGraph (GraphType *graph, int OpType, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *adjwgt, int wgtflag)
 
void SetUpGraphKway (GraphType *graph, int nvtxs, idxtype *xadj, idxtype *adjncy)
 
void SetUpGraph2 (GraphType *graph, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, float *nvwgt, idxtype *adjwgt)
 
void VolSetUpGraph (GraphType *graph, int OpType, int nvtxs, int ncon, idxtype *xadj, idxtype *adjncy, idxtype *vwgt, idxtype *vsize, int wgtflag)
 
void RandomizeGraph (GraphType *graph)
 
int IsConnectedSubdomain (CtrlType *ctrl, GraphType *graph, int pid, int report)
 
int IsConnected (CtrlType *ctrl, GraphType *graph, int report)
 
int IsConnected2 (GraphType *graph, int report)
 
int FindComponents (CtrlType *ctrl, GraphType *graph, idxtype *cptr, idxtype *cind)
 

Function Documentation

◆ FindComponents()

int FindComponents ( CtrlType ctrl,
GraphType graph,
idxtype cptr,
idxtype cind 
)

◆ IsConnected()

int IsConnected ( CtrlType ctrl,
GraphType graph,
int  report 
)

Definition at line 454 of file graph.c.

References graphdef::adjncy, idxmalloc, idxsmalloc, graphdef::nvtxs, and graphdef::xadj.

◆ IsConnected2()

int IsConnected2 ( GraphType graph,
int  report 
)

◆ IsConnectedSubdomain()

int IsConnectedSubdomain ( CtrlType ctrl,
GraphType graph,
int  pid,
int  report 
)

◆ RandomizeGraph()

void RandomizeGraph ( GraphType graph)

◆ SetUpGraph()

void SetUpGraph ( GraphType graph,
int  OpType,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
idxtype vwgt,
idxtype adjwgt,
int  wgtflag 
)

Definition at line 21 of file graph.c.

◆ SetUpGraph2()

void SetUpGraph2 ( GraphType graph,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
float *  nvwgt,
idxtype adjwgt 
)

Definition at line 171 of file graph.c.

◆ SetUpGraphKway()

void SetUpGraphKway ( GraphType graph,
int  nvtxs,
idxtype xadj,
idxtype adjncy 
)

◆ VolSetUpGraph()

void VolSetUpGraph ( GraphType graph,
int  OpType,
int  nvtxs,
int  ncon,
idxtype xadj,
idxtype adjncy,
idxtype vwgt,
idxtype vsize,
int  wgtflag 
)

Definition at line 211 of file graph.c.