Vocabulary tree that exposes the hierarchical clustering centers. Mainly intended for building a new tree. More...
#include <mutable_tree.h>
Public Member Functions | |
std::vector< Feature, FeatureAllocator > & | centers () |
const std::vector< Feature, FeatureAllocator > & | centers () const |
MutableVocabularyTree (Distance d=Distance()) | |
uint32_t | nodes () const |
void | setSize (uint32_t levels, uint32_t splits) |
std::vector< uint8_t > & | validCenters () |
const std::vector< uint8_t > & | validCenters () const |
Private Types | |
typedef vt::VocabularyTree < Feature, Distance, FeatureAllocator > | BaseClass |
Vocabulary tree that exposes the hierarchical clustering centers. Mainly intended for building a new tree.
When loading and using an existing vocabulary tree, use VocabularyTree instead.
Definition at line 16 of file mutable_tree.h.
typedef vt::VocabularyTree<Feature, Distance, FeatureAllocator> vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::BaseClass [private] |
Definition at line 18 of file mutable_tree.h.
vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::MutableVocabularyTree | ( | Distance | d = Distance() | ) | [inline] |
Definition at line 21 of file mutable_tree.h.
std::vector<Feature, FeatureAllocator>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::centers | ( | ) | [inline] |
Definition at line 38 of file mutable_tree.h.
const std::vector<Feature, FeatureAllocator>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::centers | ( | ) | const [inline] |
Definition at line 39 of file mutable_tree.h.
uint32_t vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::nodes | ( | ) | const [inline] |
Definition at line 33 of file mutable_tree.h.
void vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::setSize | ( | uint32_t | levels, |
uint32_t | splits | ||
) | [inline] |
Definition at line 26 of file mutable_tree.h.
std::vector<uint8_t>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::validCenters | ( | ) | [inline] |
Definition at line 41 of file mutable_tree.h.
const std::vector<uint8_t>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::validCenters | ( | ) | const [inline] |
Definition at line 42 of file mutable_tree.h.