forked from KarypisLab/METIS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstruct.h
71 lines (54 loc) · 1.08 KB
/
struct.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
* struct.h
*
* This file contains data structures for the various programs of METIS.
*
* Started 8/9/02
* George
*
* $Id: struct.h 14362 2013-05-21 21:35:23Z karypis $
*/
#ifndef _STRUCTBIN_H_
#define _STRUCTBIN_H_
/*************************************************************************/
/*! This data structure stores the various command line arguments */
/*************************************************************************/
typedef struct {
idx_t ptype;
idx_t objtype;
idx_t ctype;
idx_t iptype;
idx_t rtype;
idx_t no2hop;
idx_t minconn;
idx_t contig;
idx_t ondisk;
idx_t nooutput;
idx_t balance;
idx_t ncuts;
idx_t niter;
idx_t gtype;
idx_t ncommon;
idx_t seed;
idx_t dbglvl;
idx_t nparts;
idx_t nseps;
idx_t ufactor;
idx_t pfactor;
idx_t compress;
idx_t ccorder;
char *filename;
char *outfile;
char *xyzfile;
char *tpwgtsfile;
char *ubvecstr;
idx_t wgtflag;
idx_t numflag;
real_t *tpwgts;
real_t *ubvec;
real_t iotimer;
real_t parttimer;
real_t reporttimer;
size_t maxmemory;
} params_t;
#endif