gk_defs.h
Go to the documentation of this file.
1 
10 #ifndef _GK_DEFS_H_
11 #define _GK_DEFS_H_
12 
13 
14 #define LTERM (void **) 0 /* List terminator for GKfree() */
15 
16 /* mopt_t types */
17 #define GK_MOPT_MARK 1
18 #define GK_MOPT_CORE 2
19 #define GK_MOPT_HEAP 3
20 
21 #define HTABLE_EMPTY -1
22 #define HTABLE_DELETED -2
23 #define HTABLE_FIRST 1
24 #define HTABLE_NEXT 2
25 
26 /* pdb corruption bit switches */
27 #define CRP_ALTLOCS 1
28 #define CRP_MISSINGCA 2
29 #define CRP_MISSINGBB 4
30 #define CRP_MULTICHAIN 8
31 #define CRP_MULTICA 16
32 #define CRP_MULTIBB 32
33 
34 #define MAXLINELEN 300000
35 
36 /* GKlib signals to standard signal mapping */
37 #define SIGMEM SIGABRT
38 #define SIGERR SIGTERM
39 
40 
41 /* CSR-related defines */
42 #define GK_CSR_ROW 1
43 #define GK_CSR_COL 2
44 
45 #define GK_CSR_MAXTF 1
46 #define GK_CSR_SQRT 2
47 #define GK_CSR_POW25 3
48 #define GK_CSR_POW65 4
49 #define GK_CSR_POW75 5
50 #define GK_CSR_POW85 6
51 #define GK_CSR_LOG 7
52 #define GK_CSR_IDF 8
53 #define GK_CSR_IDF2 9
54 #define GK_CSR_MAXTF2 10
55 
56 #define GK_CSR_COS 1
57 #define GK_CSR_JAC 2
58 #define GK_CSR_MIN 3
59 #define GK_CSR_AMIN 4
60 
61 #define GK_CSR_FMT_CLUTO 1
62 #define GK_CSR_FMT_CSR 2
63 #define GK_CSR_FMT_METIS 3
64 #define GK_CSR_FMT_BINROW 4
65 #define GK_CSR_FMT_BINCOL 5
66 
67 #define GK_GRAPH_FMT_METIS 1
68 
69 #endif


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:08