mirror of
https://github.com/Z3Prover/z3
synced 2025-07-23 20:58:54 +00:00
init search before returning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b266af3e08
commit
af6ebbcd92
16 changed files with 90 additions and 37 deletions
|
@ -199,6 +199,14 @@ namespace sat {
|
|||
~scoped_ext();
|
||||
};
|
||||
|
||||
class scoped_assumptions {
|
||||
lookahead& p;
|
||||
literal_vector lits;
|
||||
public:
|
||||
scoped_assumptions(lookahead& p, literal_vector const& lits);
|
||||
~scoped_assumptions();
|
||||
};
|
||||
|
||||
// -------------------------------------
|
||||
// prefix updates. I use low order bits.
|
||||
|
||||
|
@ -447,7 +455,7 @@ namespace sat {
|
|||
return search();
|
||||
}
|
||||
|
||||
literal select_lookahead(bool_var_vector const& vars);
|
||||
literal select_lookahead(literal_vector const& assumptions, bool_var_vector const& vars);
|
||||
/**
|
||||
\brief simplify set of clauses by extracting units from a lookahead at base level.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue