mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 21:20:52 +00:00
working on lookahead
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5ed3200c88
commit
2afd45b3c2
10 changed files with 388 additions and 168 deletions
|
@ -1,4 +1,6 @@
|
|||
#include "sat_solver.h"
|
||||
#include "sat_watched.h"
|
||||
#include "statistics.h"
|
||||
#include "sat_lookahead.h"
|
||||
#include "dimacs.h"
|
||||
|
||||
|
@ -7,7 +9,7 @@ void tst_sat_lookahead(char ** argv, int argc, int& i) {
|
|||
std::cout << "require dimacs file name\n";
|
||||
return;
|
||||
}
|
||||
enable_trace("sat");
|
||||
// enable_trace("sat");
|
||||
reslimit limit;
|
||||
params_ref params;
|
||||
sat::solver solver(params, limit);
|
||||
|
@ -28,4 +30,8 @@ void tst_sat_lookahead(char ** argv, int argc, int& i) {
|
|||
IF_VERBOSE(20, solver.display_status(verbose_stream()););
|
||||
|
||||
std::cout << lh.check() << "\n";
|
||||
|
||||
statistics st;
|
||||
lh.collect_statistics(st);
|
||||
st.display(std::cout);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue