Tree node. More...
#include <TemplatedVocabulary.h>
Public Member Functions | |
bool | isLeaf () const |
Node () | |
Node (NodeId _id) | |
Public Attributes | |
vector< NodeId > | children |
Children. More... | |
TDescriptor | descriptor |
Node descriptor. More... | |
NodeId | id |
Node id. More... | |
NodeId | parent |
Parent node (undefined in case of root) More... | |
WordValue | weight |
Weight if the node is a word. More... | |
WordId | word_id |
Word id if the node is a word. More... | |
Tree node.
Definition at line 297 of file TemplatedVocabulary.h.
|
inline |
Empty constructor
Definition at line 316 of file TemplatedVocabulary.h.
|
inline |
|
inline |
Returns whether the node is a leaf node
Definition at line 328 of file TemplatedVocabulary.h.
vector<NodeId> DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::children |
Children.
Definition at line 304 of file TemplatedVocabulary.h.
TDescriptor DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::descriptor |
Node descriptor.
Definition at line 308 of file TemplatedVocabulary.h.
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::id |
Node id.
Definition at line 300 of file TemplatedVocabulary.h.
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::parent |
Parent node (undefined in case of root)
Definition at line 306 of file TemplatedVocabulary.h.
WordValue DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::weight |
Weight if the node is a word.
Definition at line 302 of file TemplatedVocabulary.h.
WordId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::word_id |
Word id if the node is a word.
Definition at line 311 of file TemplatedVocabulary.h.