File: defs.h

package info (click to toggle)
metis 5.1.0.dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 13,400 kB
  • ctags: 2,565
  • sloc: ansic: 29,849; makefile: 133; sh: 123
file content (59 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (13)
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
/*
 * defs.h
 *
 * This file contains various constant definitions
 *
 * Started 8/9/02
 * George
 *
 */

#define CMD_PTYPE               1
#define CMD_OTYPE               2
#define CMD_CTYPE               5
#define CMD_ITYPE               6
#define CMD_RTYPE               7

#define CMD_BALANCE             10
#define CMD_CONTIG              11
#define CMD_MINCONN             12
#define CMD_MINVOL              13

#define CMD_NITER               20
#define CMD_NTRIALS             21
#define CMD_NSEPS               22

#define CMD_TPWGTS              30
#define CMD_SDIFF               31

#define CMD_DEGREE              40
#define CMD_COMPRESS            41

#define CMD_SEED                50

#define CMD_OUTPUT              100
#define CMD_NOOUTPUT            101

#define CMD_DBGLVL              1000
#define CMD_HELP                1001




/* The text labels for PTypes */
static char ptypenames[][15] = {"rb", "kway"};

/* The text labels for ObjTypes */
static char objtypenames[][15] = {"cut", "vol", "node"};

/* The text labels for CTypes */
static char ctypenames[][15] = {"rm", "shem"};

/* The text labels for RTypes */
static char rtypenames[][15] = {"fm", "greedy", "2sided", "1sided"};

/* The text labels for ITypes */
static char iptypenames[][15] = {"grow", "random", "edge", "node", "metisrb"};

/* The text labels for GTypes */
static char gtypenames[][15] = {"dual", "nodal"};