mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 03:04:44 +00:00
add outline for ule constraints, change bit to var constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5706c7a93b
commit
9df7e9a029
12 changed files with 224 additions and 113 deletions
|
@ -15,8 +15,9 @@ Author:
|
|||
#include "math/polysat/constraint.h"
|
||||
#include "math/polysat/solver.h"
|
||||
#include "math/polysat/log.h"
|
||||
#include "math/polysat/bit_constraint.h"
|
||||
#include "math/polysat/var_constraint.h"
|
||||
#include "math/polysat/eq_constraint.h"
|
||||
#include "math/polysat/ule_constraint.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
|
@ -32,4 +33,12 @@ namespace polysat {
|
|||
return alloc(eq_constraint, lvl, p, d);
|
||||
}
|
||||
|
||||
constraint* constraint::viable(unsigned lvl, pvar v, bdd const& b, p_dependency_ref& d) {
|
||||
return alloc(var_constraint, lvl, v, b, d);
|
||||
}
|
||||
|
||||
constraint* constraint::ule(unsigned lvl, pdd const& a, pdd const& b, p_dependency_ref& d) {
|
||||
return alloc(ule_constraint, lvl, a, b, d);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue