CBMC
satcheck.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 
10 #ifndef CPROVER_SOLVERS_SAT_SATCHECK_H
11 #define CPROVER_SOLVERS_SAT_SATCHECK_H
12 
13 // This sets a define for the SAT solver
14 // based on set flags that come via the compiler
15 // command line.
16 
17 // #define SATCHECK_ZCHAFF
18 // #define SATCHECK_MINISAT1
19 // #define SATCHECK_MINISAT2
20 // #define SATCHECK_GLUCOSE
21 // #define SATCHECK_BOOLEFORCE
22 // #define SATCHECK_PICOSAT
23 // #define SATCHECK_LINGELING
24 // #define SATCHECK_CADICAL
25 
26 #if defined(HAVE_IPASIR) && !defined(SATCHECK_IPASIR)
27 #define SATCHECK_IPASIR
28 #endif
29 
30 #if defined(HAVE_ZCHAFF) && !defined(SATCHECK_ZCHAFF)
31 #define SATCHECK_ZCHAFF
32 #endif
33 
34 #if defined(HAVE_MINISAT1) && !defined(SATCHECK_MINISAT1)
35 #define SATCHECK_MINISAT1
36 #endif
37 
38 #if defined(HAVE_MINISAT2) && !defined(SATCHECK_MINISAT2)
39 #define SATCHECK_MINISAT2
40 #endif
41 
42 #if defined(HAVE_GLUCOSE) && !defined(SATCHECK_GLUCOSE)
43 #define SATCHECK_GLUCOSE
44 #endif
45 
46 #if defined(HAVE_BOOLEFORCE) && !defined(SATCHECK_BOOLEFORCE)
47 #define SATCHECK_BOOLEFORCE
48 #endif
49 
50 #if defined(HAVE_PICOSAT) && !defined(SATCHECK_PICOSAT)
51 #define SATCHECK_PICOSAT
52 #endif
53 
54 #if defined(HAVE_LINGELING) && !defined(SATCHECK_LINGELING)
55 #define SATCHECK_LINGELING
56 #endif
57 
58 #if defined(HAVE_CADICAL) && !defined(SATCHECK_CADICAL)
59 #define SATCHECK_CADICAL
60 #endif
61 
62 #if defined SATCHECK_ZCHAFF
63 
64 #include "satcheck_zchaff.h"
65 
66 typedef satcheck_zchafft satcheckt;
67 typedef satcheck_zchafft satcheck_no_simplifiert;
68 
69 #elif defined SATCHECK_BOOLEFORCE
70 
71 #include "satcheck_booleforce.h"
72 
73 typedef satcheck_booleforcet satcheckt;
74 typedef satcheck_booleforcet satcheck_no_simplifiert;
75 
76 #elif defined SATCHECK_MINISAT1
77 
78 #include "satcheck_minisat.h"
79 
80 typedef satcheck_minisat1t satcheckt;
81 typedef satcheck_minisat1t satcheck_no_simplifiert;
82 
83 #elif defined SATCHECK_MINISAT2
84 
85 #include "satcheck_minisat2.h"
86 
87 typedef satcheck_minisat_simplifiert satcheckt;
88 typedef satcheck_minisat_no_simplifiert satcheck_no_simplifiert;
89 
90 #elif defined SATCHECK_IPASIR
91 
92 #include "satcheck_ipasir.h"
93 
94 typedef satcheck_ipasirt satcheckt;
95 typedef satcheck_ipasirt satcheck_no_simplifiert;
96 
97 #elif defined SATCHECK_PICOSAT
98 
99 #include "satcheck_picosat.h"
100 
101 typedef satcheck_picosatt satcheckt;
102 typedef satcheck_picosatt satcheck_no_simplifiert;
103 
104 #elif defined SATCHECK_LINGELING
105 
106 #include "satcheck_lingeling.h"
107 
108 typedef satcheck_lingelingt satcheckt;
109 typedef satcheck_lingelingt satcheck_no_simplifiert;
110 
111 #elif defined SATCHECK_GLUCOSE
112 
113 #include "satcheck_glucose.h"
114 
115 typedef satcheck_glucose_simplifiert satcheckt;
116 typedef satcheck_glucose_no_simplifiert satcheck_no_simplifiert;
117 
118 #elif defined SATCHECK_CADICAL
119 
120 #include "satcheck_cadical.h"
121 
122 typedef satcheck_cadicalt satcheckt;
123 typedef satcheck_cadicalt satcheck_no_simplifiert;
124 
125 #endif
126 
127 #endif // CPROVER_SOLVERS_SAT_SATCHECK_H
satcheck_picosat.h
satcheck_ipasir.h
satcheck_glucose_no_simplifiert
Definition: satcheck_glucose.h:69
satcheck_glucose.h
satcheck_minisat.h
satcheck_cadical.h
satcheck_zchaff.h
satcheck_minisat1t
Definition: satcheck_minisat.h:59
satcheck_minisat_no_simplifiert
Definition: satcheck_minisat2.h:81
satcheck_lingeling.h
satcheck_minisat2.h
satcheck_lingelingt
Definition: satcheck_lingeling.h:18
satcheck_booleforce.h
satcheck_zchafft
Definition: satcheck_zchaff.h:46
satcheck_picosatt
Definition: satcheck_picosat.h:18
satcheck_minisat_simplifiert
Definition: satcheck_minisat2.h:89
satcheck_glucose_simplifiert
Definition: satcheck_glucose.h:77
satcheck_booleforcet
Definition: satcheck_booleforce.h:32
satcheck_ipasirt
Interface for generic SAT solver interface IPASIR.
Definition: satcheck_ipasir.h:20
satcheck_cadicalt
Definition: satcheck_cadical.h:22