mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
Track existing constraints with indexed_uint_set
This commit is contained in:
parent
6c8e8dada6
commit
bb227c0d6e
4 changed files with 113 additions and 42 deletions
|
@ -29,6 +29,9 @@ namespace polysat {
|
|||
using constraint_eq = deref_eq<constraint>;
|
||||
using constraint_table = ptr_hashtable<constraint, constraint_hash, constraint_eq>;
|
||||
|
||||
using constraints = ptr_vector<constraint>;
|
||||
using signed_constraints = vector<signed_constraint>;
|
||||
|
||||
// Manage constraint lifetime, deduplication, and connection to boolean variables/literals.
|
||||
class constraint_manager {
|
||||
friend class constraint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue