mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
tune cardinalities
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7e391a8a57
commit
2885ca7714
5 changed files with 81 additions and 4 deletions
|
@ -304,7 +304,12 @@ public:
|
|||
unsigned size() const { return m_set.size(); }
|
||||
iterator begin() const { return m_set.begin(); }
|
||||
iterator end() const { return m_set.end(); }
|
||||
void reset() { m_set.reset(); m_in_set.reset(); }
|
||||
// void reset() { m_set.reset(); m_in_set.reset(); }
|
||||
void reset() {
|
||||
unsigned sz = m_set.size();
|
||||
for (unsigned i = 0; i < sz; ++i) m_in_set[m_set[i]] = false;
|
||||
m_set.reset();
|
||||
}
|
||||
void finalize() { m_set.finalize(); m_in_set.finalize(); }
|
||||
tracked_uint_set& operator&=(tracked_uint_set const& other) {
|
||||
unsigned j = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue