Skip to content

Commit f7db435

Browse files
author
Daniel Kroening
committed
clean out old solvers
1 parent eba46c6 commit f7db435

File tree

1 file changed

+3
-57
lines changed

1 file changed

+3
-57
lines changed

src/ebmc/ebmc_solvers.cpp

Lines changed: 3 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ Author: Daniel Kroening, [email protected]
1111

1212
#include <util/cmdline.h>
1313

14-
#include <solvers/cvc/cvc_dec.h>
15-
#include <solvers/dplib/dplib_dec.h>
16-
#include <solvers/smt1/smt1_dec.h>
1714
#include <solvers/smt2/smt2_dec.h>
1815
#include <solvers/flattening/boolbv.h>
1916
#include <solvers/sat/dimacs_cnf.h>
@@ -72,57 +69,6 @@ int ebmc_baset::do_dimacs()
7269

7370
/*******************************************************************\
7471
75-
Function: ebmc_baset::do_smt1
76-
77-
Inputs:
78-
79-
Outputs:
80-
81-
Purpose:
82-
83-
\*******************************************************************/
84-
85-
int ebmc_baset::do_smt1()
86-
{
87-
const namespacet ns(symbol_table);
88-
89-
if(cmdline.isset("outfile"))
90-
{
91-
const std::string filename=cmdline.get_value("outfile");
92-
std::ofstream out(filename.c_str());
93-
94-
if(!out)
95-
{
96-
std::cerr << "Failed to open `"
97-
<< filename
98-
<< "'" << '\n';
99-
return 1;
100-
}
101-
102-
smt1_convt smt1_conv(
103-
ns,
104-
"ebmc",
105-
"Generated by EBMC " EBMC_VERSION,
106-
"QF_AUFBV",
107-
smt1_convt::solvert::Z3,
108-
out);
109-
110-
return do_bmc(smt1_conv, true);
111-
}
112-
113-
smt1_convt smt1_conv(
114-
ns,
115-
"ebmc",
116-
"Generated by EBMC " EBMC_VERSION,
117-
"QF_AUFBV",
118-
smt1_convt::solvert::Z3,
119-
std::cout);
120-
121-
return do_bmc(smt1_conv, true);
122-
}
123-
124-
/*******************************************************************\
125-
12672
Function: ebmc_baset::do_smt2
12773
12874
Inputs:
@@ -292,14 +238,14 @@ int ebmc_baset::do_boolector()
292238
{
293239
const namespacet ns(symbol_table);
294240

295-
smt1_dect smt1_dec(
241+
smt2_dect smt2_dec(
296242
ns,
297243
"ebmc",
298244
"Generated by EBMC " EBMC_VERSION,
299245
"QF_AUFBV",
300-
smt1_dect::solvert::BOOLECTOR);
246+
smt2_dect::solvert::BOOLECTOR);
301247

302-
return do_bmc(smt1_dec, false);
248+
return do_bmc(smt2_dec, false);
303249
}
304250

305251
/*******************************************************************\

0 commit comments

Comments
 (0)