Starting tuner framework
[satune.git] / src / classlist.h
1 /*      Copyright (c) 2015 Regents of the University of California
2  *
3  *      Author: Brian Demsky <bdemsky@uci.edu>
4  *
5  *      This program is free software; you can redistribute it and/or
6  *      modify it under the terms of the GNU General Public License
7  *      version 2 as published by the Free Software Foundation.
8  */
9
10 #ifndef CLASSLIST_H
11 #define CLASSLIST_H
12
13 #include "mymemory.h"
14 #include <inttypes.h>
15 #define bool int
16 #define true 1
17 #define false 0
18
19 struct CSolver;
20 typedef struct CSolver CSolver;
21 struct SATEncoder;
22 typedef struct SATEncoder SATEncoder;
23
24 typedef struct BooleanOrder BooleanOrder;
25 typedef struct BooleanVar BooleanVar;
26 typedef struct BooleanLogic BooleanLogic;
27 typedef struct BooleanPredicate BooleanPredicate;
28
29 struct ASTNode;
30 typedef struct ASTNode ASTNode;
31
32 struct Boolean;
33 typedef struct Boolean Boolean;
34
35 struct IncrementalSolver;
36 typedef struct IncrementalSolver IncrementalSolver;
37
38 struct Set;
39 typedef struct Set Set;
40 typedef struct Set MutableSet;
41
42 typedef struct ElementFunction ElementFunction;
43 typedef struct ElementSet ElementSet;
44 typedef struct ElementConst ElementConst;
45
46 struct Element;
47 typedef struct Element Element;
48
49 typedef struct FunctionOperator FunctionOperator;
50 typedef struct FunctionTable FunctionTable;
51
52 struct Function;
53 typedef struct Function Function;
54
55 struct Predicate;
56 typedef struct Predicate Predicate;
57
58 struct PredicateTable;
59 typedef struct PredicateTable PredicateTable;
60
61 struct PredicateOperator;
62 typedef struct PredicateOperator PredicateOperator;
63
64 struct Table;
65 typedef struct Table Table;
66
67 struct Order;
68 typedef struct Order Order;
69
70 struct OrderPair;
71 typedef struct OrderPair OrderPair;
72
73 struct ElementEncoding;
74 typedef struct ElementEncoding ElementEncoding;
75
76 struct FunctionEncoding;
77 typedef struct FunctionEncoding FunctionEncoding;
78
79 struct OrderEncoding;
80 typedef struct OrderEncoding OrderEncoding;
81
82 struct TableEntry;
83 typedef struct TableEntry TableEntry;
84
85 struct OrderGraph;
86 typedef struct OrderGraph OrderGraph;
87
88 struct OrderNode;
89 typedef struct OrderNode OrderNode;
90
91 struct OrderEdge;
92 typedef struct OrderEdge OrderEdge;
93
94 struct OrderEncoder;
95 typedef struct OrderEncoder OrderEncoder;
96
97 struct Tuner;
98 typedef struct Tuner Tuner;
99 struct TunableDesc;
100 typedef struct TunableDesc TunableDesc;
101 typedef int TunableParam;
102
103 typedef unsigned int uint;
104 typedef long int int64;
105 typedef uint64_t VarType;
106 #endif