mirror of
https://github.com/Z3Prover/z3
synced 2025-10-26 01:14:36 +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
|
|
@ -314,8 +314,11 @@ namespace sat {
|
|||
}
|
||||
}
|
||||
void assign_core(literal l, unsigned lvl, justification jst);
|
||||
void assign_unit(literal l) { assign(l, justification()); }
|
||||
void assign_scoped(literal l) { assign(l, justification()); }
|
||||
void set_conflict(justification c, literal not_l);
|
||||
void set_conflict(justification c) { set_conflict(c, null_literal); }
|
||||
void set_conflict() { set_conflict(justification()); }
|
||||
lbool status(clause const & c) const;
|
||||
clause_offset get_offset(clause const & c) const { return cls_allocator().get_offset(&c); }
|
||||
void checkpoint() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue