[mlpack-svn] r10509 - mlpack/trunk/src/mlpack/core/tree
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Dec 2 01:24:33 EST 2011
Author: rcurtin
Date: 2011-12-02 01:24:32 -0500 (Fri, 02 Dec 2011)
New Revision: 10509
Modified:
mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
mlpack/trunk/src/mlpack/core/tree/binary_space_tree_impl.hpp
Log:
Remove Print() function in accordance with #164.
Modified: mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp 2011-12-02 06:06:26 UTC (rev 10508)
+++ mlpack/trunk/src/mlpack/core/tree/binary_space_tree.hpp 2011-12-02 06:24:32 UTC (rev 10509)
@@ -265,8 +265,6 @@
*/
size_t Count() const;
- void Print() const;
-
private:
/**
* Private copy constructor, available only to fill (pad) the tree to a
Modified: mlpack/trunk/src/mlpack/core/tree/binary_space_tree_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/binary_space_tree_impl.hpp 2011-12-02 06:06:26 UTC (rev 10508)
+++ mlpack/trunk/src/mlpack/core/tree/binary_space_tree_impl.hpp 2011-12-02 06:24:32 UTC (rev 10509)
@@ -367,17 +367,6 @@
}
template<typename BoundType, typename StatisticType>
-void BinarySpaceTree<BoundType, StatisticType>::Print() const
-{
- printf("node: %d to %d: %d points total\n", begin, begin + count - 1,
- count);
- if (left)
- left->Print();
- if (right)
- right->Print();
-}
-
-template<typename BoundType, typename StatisticType>
void BinarySpaceTree<BoundType, StatisticType>::SplitNode(arma::mat& data)
{
// This should be a single function for Bound.
More information about the mlpack-svn
mailing list