[mlpack-svn] r15803 - mlpack/trunk/src/mlpack/core/tree/cover_tree
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Sep 17 22:10:33 EDT 2013
Author: rcurtin
Date: Tue Sep 17 22:10:32 2013
New Revision: 15803
Log:
Fix comment.
Modified:
mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp
Modified: mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp (original)
+++ mlpack/trunk/src/mlpack/core/tree/cover_tree/cover_tree_impl.hpp Tue Sep 17 22:10:32 2013
@@ -271,7 +271,7 @@
double CoverTree<MetricType, RootPointPolicy, StatisticType>::MinDistance(
const CoverTree<MetricType, RootPointPolicy, StatisticType>* other) const
{
- // Every cover tree node will contain points up to EC^(scale + 1) away.
+ // Every cover tree node will contain points up to base^(scale + 1) away.
return std::max(metric->Evaluate(dataset.unsafe_col(point),
other->Dataset().unsafe_col(other->Point())) -
furthestDescendantDistance - other->FurthestDescendantDistance(), 0.0);
More information about the mlpack-svn
mailing list