3
0
Fork 0
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:
Jakob Rath 2021-09-13 11:00:08 +02:00
parent 6c8e8dada6
commit bb227c0d6e
4 changed files with 113 additions and 42 deletions

View file

@ -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;