mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 10:41:35 +00:00
make cutset maintainance incremental, expose option for goal2sat to populate aig
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
301f9598a4
commit
ca243428f8
7 changed files with 188 additions and 156 deletions
|
@ -29,11 +29,12 @@
|
|||
#include "util/statistics.h"
|
||||
#include "sat/sat_clause.h"
|
||||
#include "sat/sat_types.h"
|
||||
#include "sat/sat_solver.h"
|
||||
#include "sat/sat_big.h"
|
||||
|
||||
namespace sat {
|
||||
|
||||
class solver;
|
||||
|
||||
class aig_finder {
|
||||
solver& s;
|
||||
big m_big;
|
||||
|
@ -50,7 +51,7 @@ namespace sat {
|
|||
void validate_clause(literal_vector const& clause, vector<literal_vector> const& clauses);
|
||||
|
||||
public:
|
||||
aig_finder(solver& s) : s(s), m_big(s.rand()) {}
|
||||
aig_finder(solver& s);
|
||||
~aig_finder() {}
|
||||
void set(std::function<void (literal head, literal_vector const& ands)>& f) { m_on_aig = f; }
|
||||
void set(std::function<void (literal head, literal cond, literal th, literal el)>& f) { m_on_if = f; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue