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 310 of file TemplatedVocabulary.h.
|
inline |
Empty constructor
Definition at line 329 of file TemplatedVocabulary.h.
|
inline |
|
inline |
Returns whether the node is a leaf node
Definition at line 341 of file TemplatedVocabulary.h.
vector<NodeId> DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::children |
Children.
Definition at line 317 of file TemplatedVocabulary.h.
TDescriptor DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::descriptor |
Node descriptor.
Definition at line 321 of file TemplatedVocabulary.h.
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::id |
Node id.
Definition at line 313 of file TemplatedVocabulary.h.
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::parent |
Parent node (undefined in case of root)
Definition at line 319 of file TemplatedVocabulary.h.
WordValue DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::weight |
Weight if the node is a word.
Definition at line 315 of file TemplatedVocabulary.h.
WordId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::word_id |
Word id if the node is a word.
Definition at line 324 of file TemplatedVocabulary.h.