[mlpack-svn] r16684 - mlpack/trunk/src/mlpack/core/tree/rectangle_tree
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Jun 11 16:23:37 EDT 2014
Author: rcurtin
Date: Wed Jun 11 16:23:37 2014
New Revision: 16684
Log:
Inline the simple R tree descent heuristic.
Modified:
mlpack/trunk/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp
Modified: mlpack/trunk/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp (original)
+++ mlpack/trunk/src/mlpack/core/tree/rectangle_tree/r_tree_descent_heuristic_impl.hpp Wed Jun 11 16:23:37 2014
@@ -13,7 +13,7 @@
namespace mlpack {
namespace tree {
-double RTreeDescentHeuristic::EvalNode(const HRectBound<>& bound, const arma::vec& point)
+inline double RTreeDescentHeuristic::EvalNode(const HRectBound<>& bound, const arma::vec& point)
{
return bound.Contains(point) ? 0 : bound.MinDistance(point);
}
More information about the mlpack-svn
mailing list