Home | History | Annotate | Download | only in flann

Lines Matching defs:ElementType

81     typedef typename Distance::ElementType ElementType;
89 LshIndex(const Matrix<ElementType>& input_data, const IndexParams& params = LshIndexParams(),
114 lsh::LshTable<ElementType>& table = tables_[i];
115 table = lsh::LshTable<ElementType>(feature_size_, key_size_);
190 virtual void knnSearch(const Matrix<ElementType>& queries, Matrix<int>& indices, Matrix<DistanceType>& dists, int knn, const SearchParams& params)
220 void findNeighbors(ResultSet<DistanceType>& result, const ElementType* vec, const SearchParams& /*searchParams*/)
263 void getNeighbors(const ElementType* vec, bool /*do_radius*/, float radius, bool do_k, unsigned int k_nn,
270 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin();
271 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end();
308 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin();
309 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end();
339 void getNeighbors(const ElementType* vec, ResultSet<DistanceType>& result)
341 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin();
342 typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end();
368 std::vector<lsh::LshTable<ElementType> > tables_;
371 Matrix<ElementType> dataset_;
373 /** The size of the features (as ElementType[]) */