17 #ifndef JUBATUS_CORE_STORAGE_LSH_UTIL_HPP_
18 #define JUBATUS_CORE_STORAGE_LSH_UTIL_HPP_
43 typedef std::pair<float, std::pair<size_t, std::vector<int> > >
diff_type;
44 typedef std::priority_queue<
46 std::vector<diff_type>,
51 std::vector<std::vector<float> >
hash_;
61 #endif // JUBATUS_CORE_STORAGE_LSH_UTIL_HPP_
lsh_probe_generator(const std::vector< float > &hash, size_t num_hash_tables)
void next_perturbations()
std::pair< size_t, lsh_vector > get_next_table_and_vector()
std::vector< std::vector< float > > hash_
std::vector< std::vector< std::pair< float, int > > > perturbation_sets_
const lsh_vector & base(size_t i) const
std::vector< lsh_vector > base_
std::pair< float, std::pair< size_t, std::vector< int > > > diff_type
std::priority_queue< diff_type, std::vector< diff_type >, std::greater< diff_type > > heap_type
lsh_vector base_all() const