Searched refs:BucketKey (Results 1 – 2 of 2) sorted by relevance
243 void fill_xor_mask(lsh::BucketKey key, int lowest_index, unsigned int level, in fill_xor_mask()244 std::vector<lsh::BucketKey>& xor_masks) in fill_xor_mask()250 lsh::BucketKey new_key = key | (1 << index); in fill_xor_mask()274 std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); in getNeighbors()275 std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); in getNeighbors()312 std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); in getNeighbors()313 std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); in getNeighbors()345 std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); in getNeighbors()346 std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); in getNeighbors()349 const lsh::Bucket* bucket = table->getBucketFromKey((lsh::BucketKey)sub_key); in getNeighbors()[all …]
72 typedef unsigned int BucketKey; typedef136 typedef std::unordered_map<BucketKey, Bucket> BucketsSpace;138 typedef std::map<BucketKey, Bucket> BucketsSpace;171 BucketKey key = (lsh::BucketKey)getKey(feature); in add()210 inline const Bucket* getBucketFromKey(BucketKey key) const in getBucketFromKey()268 …const size_t key_size_upper_bound = std::min(sizeof(BucketKey) * CHAR_BIT + 1, sizeof(size_t) * CH… in initialize()299 … (((std::max(buckets_space_.size(), buckets_speed_.size()) * CHAR_BIT * 3 * sizeof(BucketKey)) / 10 in optimize()