Template Class MutableVocabularyTree

Inheritance Relationships

Base Type

Class Documentation

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

Public Functions

inline MutableVocabularyTree(Distance d = Distance())
inline void SetSize(uint32_t levels, uint32_t splits)
inline uint32_t nodes() const
inline uint32_t wordstart() const
inline std::vector<Feature, FeatureAllocator> &centers()
inline const std::vector<Feature, FeatureAllocator> &centers() const
inline std::vector<uint8_t> &validCenters()
inline const std::vector<uint8_t> &validCenters() const