|
@ -159,6 +159,7 @@ namespace storm { |
|
|
|
|
|
|
|
|
template<class ValueType, class Hash> |
|
|
template<class ValueType, class Hash> |
|
|
std::pair<bool, uint64_t> BitVectorHashMap<ValueType, Hash>::findBucket(storm::storage::BitVector const& key) const { |
|
|
std::pair<bool, uint64_t> BitVectorHashMap<ValueType, Hash>::findBucket(storm::storage::BitVector const& key) const { |
|
|
|
|
|
STORM_LOG_ASSERT(key.size() == bucketSize, "Size of bit vector and size of buckets do not match"); |
|
|
uint64_t bucket = hasher(key) >> this->getCurrentShiftWidth(); |
|
|
uint64_t bucket = hasher(key) >> this->getCurrentShiftWidth(); |
|
|
|
|
|
|
|
|
while (isBucketOccupied(bucket)) { |
|
|
while (isBucketOccupied(bucket)) { |
|
|