Bug #1267: Integrate METIS graph partitioning library
[charm.git] / src / libs / ck-libs / metis / programs / struct.h
blobf0ad8cc81190314f677e0d7ec10522b722c48020
1 /*
2 * struct.h
4 * This file contains data structures for the various programs of METIS.
6 * Started 8/9/02
7 * George
9 * $Id: struct.h 13900 2013-03-24 15:27:07Z karypis $
12 #ifndef _STRUCTBIN_H_
13 #define _STRUCTBIN_H_
16 /*************************************************************************/
17 /*! This data structure stores the various command line arguments */
18 /*************************************************************************/
19 typedef struct {
20 idx_t ptype;
21 idx_t objtype;
22 idx_t ctype;
23 idx_t iptype;
24 idx_t rtype;
26 idx_t no2hop;
27 idx_t minconn;
28 idx_t contig;
30 idx_t nooutput;
32 idx_t balance;
33 idx_t ncuts;
34 idx_t niter;
36 idx_t gtype;
37 idx_t ncommon;
39 idx_t seed;
40 idx_t dbglvl;
42 idx_t nparts;
44 idx_t nseps;
45 idx_t ufactor;
46 idx_t pfactor;
47 idx_t compress;
48 idx_t ccorder;
50 char *filename;
51 char *outfile;
52 char *xyzfile;
53 char *tpwgtsfile;
54 char *ubvecstr;
56 idx_t wgtflag;
57 idx_t numflag;
58 real_t *tpwgts;
59 real_t *ubvec;
61 real_t iotimer;
62 real_t parttimer;
63 real_t reporttimer;
65 size_t maxmemory;
66 } params_t;
69 #endif