mlpack
Public Member Functions | List of all members
mlpack::tree::GreedySingleTreeTraverser< TreeType, RuleType > Class Template Reference

Public Member Functions

 GreedySingleTreeTraverser (RuleType &rule)
 Instantiate the greedy single tree traverser with the given rule set.
 
void Traverse (const size_t queryIndex, TreeType &referenceNode)
 Traverse the tree with the given point. More...
 
size_t NumPrunes () const
 Get the number of prunes.
 

Member Function Documentation

◆ Traverse()

template<typename TreeType , typename RuleType >
void mlpack::tree::GreedySingleTreeTraverser< TreeType, RuleType >::Traverse ( const size_t  queryIndex,
TreeType &  referenceNode 
)

Traverse the tree with the given point.

Parameters
queryIndexThe index of the point in the query set which is being used as the query point.
referenceNodeThe tree node to be traversed.

The documentation for this class was generated from the following files: