mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 15:25:26 +00:00
add shortcuts for unit assertions, conflicts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d73b7267e3
commit
93ee05648e
17 changed files with 55 additions and 94 deletions
|
@ -35,6 +35,9 @@ namespace sat {
|
|||
|
||||
Remark: there are no clause objects for binary clauses.
|
||||
*/
|
||||
|
||||
class extension;
|
||||
|
||||
class watched {
|
||||
public:
|
||||
enum kind {
|
||||
|
@ -138,7 +141,7 @@ namespace sat {
|
|||
void set_ternary_learned(watch_list& wlist, literal l1, literal l2, bool learned);
|
||||
|
||||
class clause_allocator;
|
||||
std::ostream& display_watch_list(std::ostream & out, clause_allocator const & ca, watch_list const & wlist);
|
||||
std::ostream& display_watch_list(std::ostream & out, clause_allocator const & ca, watch_list const & wlist, extension* ext);
|
||||
|
||||
void conflict_cleanup(watch_list::iterator it, watch_list::iterator it2, watch_list& wlist);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue