![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include "metis.h"
Go to the source code of this file.
Functions | |
| void | print_help (char *program_name) |
| void | clusterSize (GraphType *graph, int *clustersize) |
| void | sparse2dense (GraphType *graph, double *dense, float *m_adjwgt) |
| void | extractfilename (char *path, char *name) |
| void | graclus_errexit (char *f_str,...) |
| Chains * | chainmalloc (int n, char *msg) |
| float ** | f2malloc (int n, int m, char *msg) |
| int ** | i2malloc (int n, int m, char *msg) |
| int * | imalloc (int n, char *msg) |
| idxtype * | idxmalloc (int n, char *msg) |
| float * | fmalloc (int n, char *msg) |
| int * | ismalloc (int n, int ival, char *msg) |
| idxtype * | idxsmalloc (int n, idxtype ival, char *msg) |
| void * | GKmalloc (int nbytes, char *msg) |
| void | GKfree (void **ptr1,...) |
| int * | iset (int n, int val, int *x) |
| idxtype * | idxset (int n, idxtype val, idxtype *x) |
| float * | sset (int n, float val, float *x) |
| int | iamax (int n, int *x) |
| int | idxamax (int n, idxtype *x) |
| int | idxamax_strd (int n, idxtype *x, int incx) |
| int | samax (int n, float *x) |
| int | samax2 (int n, float *x) |
| int | idxamin (int n, idxtype *x) |
| int | samin (int n, float *x) |
| int | idxsum (int n, idxtype *x) |
| int | idxsum_strd (int n, idxtype *x, int incx) |
| void | idxadd (int n, idxtype *x, idxtype *y) |
| int | charsum (int n, char *x) |
| int | isum (int n, int *x) |
| float | ssum (int n, float *x) |
| float | ssum_strd (int n, float *x, int incx) |
| void | sscale (int n, float alpha, float *x) |
| float | snorm2 (int n, float *v) |
| float | sdot (int n, float *x, float *y) |
| void | saxpy (int n, float alpha, float *x, int incx, float *y, int incy) |
| void | RandomPermute (int n, idxtype *p, int flag) |
| void | RandomInit (int n, int k, idxtype *label) |
| int | ispow2 (int a) |
| void | InitRandom (int seed) |
| int | log2_metis (int a) |
| Chains* chainmalloc | ( | int | n, |
| char * | msg | ||
| ) |
Definition at line 121 of file util.c.
References GKmalloc(), and NULL.
| void clusterSize | ( | GraphType * | graph, |
| int * | clustersize | ||
| ) |
Definition at line 33 of file util.c.
References graphdef::nvtxs, and graphdef::where.
Referenced by ComputeRAsso(), remove_empty_clusters_l1(), and remove_empty_clusters_l2().
| void extractfilename | ( | char * | path, |
| char * | name | ||
| ) |
Definition at line 73 of file util.c.
References length(), name, and cloudViewer::t::geometry::path.
| float** f2malloc | ( | int | n, |
| int | m, | ||
| char * | msg | ||
| ) |
Definition at line 132 of file util.c.
References GKmalloc(), and NULL.
| float* fmalloc | ( | int | n, |
| char * | msg | ||
| ) |
Definition at line 188 of file util.c.
References GKmalloc(), and NULL.
| void GKfree | ( | void ** | ptr1, |
| ... | |||
| ) |
| void* GKmalloc | ( | int | nbytes, |
| char * | msg | ||
| ) |
Definition at line 225 of file util.c.
References graclus_errexit(), and NULL.
Referenced by chainmalloc(), f2malloc(), fmalloc(), i2malloc(), idxmalloc(), idxsmalloc(), imalloc(), and ismalloc().
| void graclus_errexit | ( | char * | f_str, |
| ... | |||
| ) |
Definition at line 98 of file util.c.
Referenced by BetterVBalance(), Coarsen2Way(), GKmalloc(), Init2WayPartition(), MCCoarsen2Way(), MocInit2WayPartition(), MocInit2WayPartition2(), MocRefine2Way(), MocRefine2Way2(), and Refine2Way().
| int** i2malloc | ( | int | n, |
| int | m, | ||
| char * | msg | ||
| ) |
Definition at line 148 of file util.c.
References GKmalloc(), and NULL.
| int idxamax_strd | ( | int | n, |
| idxtype * | x, | ||
| int | incx | ||
| ) |
| idxtype* idxmalloc | ( | int | n, |
| char * | msg | ||
| ) |
Definition at line 282 of file util.c.
Referenced by idxsmalloc().
Definition at line 213 of file util.c.
References GKmalloc(), idxset(), and NULL.
| int* imalloc | ( | int | n, |
| char * | msg | ||
| ) |
Definition at line 164 of file util.c.
References GKmalloc(), and NULL.
| int* iset | ( | int | n, |
| int | val, | ||
| int * | x | ||
| ) |
Definition at line 268 of file util.c.
Referenced by ismalloc().
| int* ismalloc | ( | int | n, |
| int | ival, | ||
| char * | msg | ||
| ) |
Definition at line 200 of file util.c.
References GKmalloc(), iset(), and NULL.
| void RandomInit | ( | int | n, |
| int | k, | ||
| idxtype * | label | ||
| ) |
Definition at line 618 of file util.c.
References idxmalloc(), and RandomPermute().
| void RandomPermute | ( | int | n, |
| idxtype * | p, | ||
| int | flag | ||
| ) |
Definition at line 576 of file util.c.
Referenced by RandomInit().
| void saxpy | ( | int | n, |
| float | alpha, | ||
| float * | x, | ||
| int | incx, | ||
| float * | y, | ||
| int | incy | ||
| ) |
| float sdot | ( | int | n, |
| float * | x, | ||
| float * | y | ||
| ) |
| void sparse2dense | ( | GraphType * | graph, |
| double * | dense, | ||
| float * | m_adjwgt | ||
| ) |
Definition at line 46 of file util.c.
References graphdef::adjncy, graphdef::adjwgt, NULL, graphdef::nvtxs, and graphdef::xadj.