Go to the documentation of this file.
22 int main(
int argc,
char *argv[])
49 if (
graph->ncon != 1) {
50 printf(
"***The input graph contains %"PRIDX" constraints..\n"
51 "***Ordering requires a graph with one constraint.\n",
graph->ncon);
82 printf(
"***It seems that Metis did not free all of its memory! Report this.\n");
88 printf(
"\n***Metis returned with an error.\n");
114 printf(
"******************************************************************************\n");
116 printf(
" (HEAD: %s, Built on: %s, %s)\n", SVNINFO, __DATE__, __TIME__);
117 printf(
" size of idx_t: %zubits, real_t: %zubits, idx_t *: %zubits\n",
120 printf(
"Graph Information -----------------------------------------------------------\n");
121 printf(
" Name: %s, #Vertices: %"PRIDX", #Edges: %"PRIDX"\n",
125 printf(
"Options ---------------------------------------------------------------------\n");
126 printf(
" ctype=%s, rtype=%s, iptype=%s, seed=%"PRIDX", dbglvl=%"PRIDX"\n",
130 printf(
" ufactor=%.3f, pfactor=%.2f, no2hop=%s, ccorder=%s, compress=%s, , nooutput=%s\n",
133 (
params->no2hop ?
"YES" :
"NO"),
134 (
params->ccorder ?
"YES" :
"NO"),
135 (
params->compress ?
"YES" :
"NO"),
136 (
params->nooutput ?
"YES" :
"NO")
142 printf(
"Node-based Nested Dissection ------------------------------------------------\n");
156 printf(
" Nonzeros: %6.3le \tOperation Count: %6.3le\n", (
double)maxlnz, (
double)opc);
161 printf(
"\nTiming Information ----------------------------------------------------------\n");
165 printf(
"\nMemory Information ----------------------------------------------------------\n");
166 printf(
" Max memory used:\t\t %7.3"PRREAL" MB\n", (
real_t)(
params->maxmemory/(1024.0*1024.0)));
167 printf(
"******************************************************************************\n");
void WritePermutation(char *fname, idx_t *iperm, idx_t n)
#define I2RUBFACTOR(ufactor)
idx_t idx_t idx_t idx_t idx_t * perm
static char iptypenames[][15]
void gk_free(void **ptr1,...)
#define gk_getcputimer(tmr)
static const SmartProjectionParams params
graph_t * ReadGraph(params_t *params)
void NDReportResults(params_t *params, graph_t *graph, idx_t *perm, idx_t *iperm)
int main(int argc, char *argv[])
#define gk_startcputimer(tmr)
idx_t idx_t idx_t idx_t idx_t idx_t * iperm
static char ctypenames[][15]
static char rtypenames[][15]
size_t gk_GetMaxMemoryUsed()
int METIS_NodeND(idx_t *nvtxs, idx_t *xadj, idx_t *adjncy, idx_t *vwgt, idx_t *options, idx_t *perm, idx_t *iperm)
params_t * parse_cmdline(int argc, char *argv[])
int METIS_SetDefaultOptions(idx_t *options)
void ComputeFillIn(graph_t *graph, idx_t *perm, idx_t *iperm, size_t *r_maxlnz, size_t *r_opc)
NonlinearFactorGraph graph
size_t gk_GetCurMemoryUsed()
void NDPrintInfo(params_t *params, graph_t *graph)
#define gk_stopcputimer(tmr)
void gk_malloc_cleanup(int showstats)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:12:22