16 #ifndef __MLPACK_CORE_TREE_TRAVERSAL_INFO_HPP 17 #define __MLPACK_CORE_TREE_TRAVERSAL_INFO_HPP 48 template<
typename TreeType>
double LastScore() const
Get the score associated with the last query and reference nodes.
TreeType * LastReferenceNode() const
Get the last reference node.
TraversalInfo()
Create the TraversalInfo object and initialize the pointers to NULL.
The TraversalInfo class holds traversal information which is used in dual-tree (and single-tree) trav...
double lastBaseCase
The last base case.
TreeType *& LastQueryNode()
Modify the last query node.
TreeType * LastQueryNode() const
Get the last query node.
double & LastBaseCase()
Modify the base case associated with the last node combination.
double LastBaseCase() const
Get the base case associated with the last node combination.
TreeType * lastReferenceNode
The last reference node.
double lastScore
The last score.
double & LastScore()
Modify the score associated with the last query and reference nodes.
TreeType *& LastReferenceNode()
Modify the last reference node.
TreeType * lastQueryNode
The last query node.