Public Member Functions | Private Types
vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator > Class Template Reference

Vocabulary tree that exposes the hierarchical clustering centers. Mainly intended for building a new tree. More...

#include <mutable_tree.h>

Inheritance diagram for vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
class vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >

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.


Member Typedef Documentation

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
typedef vt::VocabularyTree<Feature, Distance, FeatureAllocator> vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::BaseClass [private]

Definition at line 18 of file mutable_tree.h.


Constructor & Destructor Documentation

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::MutableVocabularyTree ( Distance  d = Distance()) [inline]

Definition at line 21 of file mutable_tree.h.


Member Function Documentation

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
std::vector<Feature, FeatureAllocator>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::centers ( ) [inline]

Definition at line 38 of file mutable_tree.h.

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
const std::vector<Feature, FeatureAllocator>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::centers ( ) const [inline]

Definition at line 39 of file mutable_tree.h.

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
uint32_t vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::nodes ( ) const [inline]

Definition at line 33 of file mutable_tree.h.

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
void vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::setSize ( uint32_t  levels,
uint32_t  splits 
) [inline]

Definition at line 26 of file mutable_tree.h.

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
std::vector<uint8_t>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::validCenters ( ) [inline]

Definition at line 41 of file mutable_tree.h.

template<class Feature, class Distance = vt::distance::L2<Feature>, class FeatureAllocator = typename DefaultAllocator<Feature>::type>
const std::vector<uint8_t>& vt::MutableVocabularyTree< Feature, Distance, FeatureAllocator >::validCenters ( ) const [inline]

Definition at line 42 of file mutable_tree.h.


The documentation for this class was generated from the following file:


vocabulary_tree
Author(s): Patrick Mihelich
autogenerated on Thu Jan 2 2014 12:12:26