14 #ifndef MLPACK_CORE_TREE_TRAVERSAL_INFO_HPP 15 #define MLPACK_CORE_TREE_TRAVERSAL_INFO_HPP 49 template<
typename TreeType>
58 lastReferenceNode(NULL),
84 TreeType* lastQueryNode;
86 TreeType* lastReferenceNode;
The TraversalInfo class holds traversal information which is used in dual-tree (and single-tree) trav...
Definition: traversal_info.hpp:50
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
TraversalInfo()
Create the TraversalInfo object and initialize the pointers to NULL.
Definition: traversal_info.hpp:56
TreeType *& LastQueryNode()
Modify the last query node.
Definition: traversal_info.hpp:65
TreeType *& LastReferenceNode()
Modify the last reference node.
Definition: traversal_info.hpp:70
double LastBaseCase() const
Get the base case associated with the last node combination.
Definition: traversal_info.hpp:78
TreeType * LastQueryNode() const
Get the last query node.
Definition: traversal_info.hpp:63
double LastScore() const
Get the score associated with the last query and reference nodes.
Definition: traversal_info.hpp:73
double & LastBaseCase()
Modify the base case associated with the last node combination.
Definition: traversal_info.hpp:80
double & LastScore()
Modify the score associated with the last query and reference nodes.
Definition: traversal_info.hpp:75
TreeType * LastReferenceNode() const
Get the last reference node.
Definition: traversal_info.hpp:68