mirror of
https://github.com/Z3Prover/z3
synced 2025-07-26 06:07:01 +00:00
more ddnf
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b596828d23
commit
34aa06b5a3
3 changed files with 199 additions and 135 deletions
|
@ -224,6 +224,10 @@ bool bit_vector::contains(bit_vector const& other) const {
|
|||
return (m_data[n-1] & other_data) == other_data;
|
||||
}
|
||||
|
||||
unsigned bit_vector::get_hash() const {
|
||||
return string_hash(reinterpret_cast<char const* const>(m_data), size()/8, 0);
|
||||
}
|
||||
|
||||
void fr_bit_vector::reset() {
|
||||
unsigned sz = size();
|
||||
unsigned_vector::const_iterator it = m_one_idxs.begin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue