Template Class TreeBuilder¶
Defined in File tree-builder.h
Class Documentation¶
-
template<class
Feature
, classDistance
= distance::L2<Feature>, classFeatureAllocator
= typename DefaultAllocator<Feature>::type>
classloop_closure
::
TreeBuilder
¶ Public Types
-
typedef MutableVocabularyTree<Feature, Distance, FeatureAllocator>
Tree
¶
-
typedef SimpleKmeans<Feature, Distance, FeatureAllocator>
Kmeans
¶
-
typedef std::vector<Feature, FeatureAllocator>
FeatureVector
¶
Public Functions
-
void
Build
(const FeatureVector &training_features, uint32_t k, uint32_t levels)¶
-
typedef MutableVocabularyTree<Feature, Distance, FeatureAllocator>