[mlpack-svn] r10517 - 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 17:07:57 EST 2011


Author: rcurtin
Date: 2011-12-02 17:07:57 -0500 (Fri, 02 Dec 2011)
New Revision: 10517

Modified:
   mlpack/trunk/src/mlpack/core/tree/statistic.hpp
Log:
Put the statistic class into the tree namespace.


Modified: mlpack/trunk/src/mlpack/core/tree/statistic.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/statistic.hpp	2011-12-02 20:08:52 UTC (rev 10516)
+++ mlpack/trunk/src/mlpack/core/tree/statistic.hpp	2011-12-02 22:07:57 UTC (rev 10517)
@@ -1,16 +1,17 @@
 /**
- * @file statistic.h
+ * @file statistic.hpp
  *
- * Home for the concept of tree statistics.
+ * Definition of the policy type for the statistic class.
  *
  * You should define your own statistic that looks like EmptyStatistic.
- *
- * @experimental
  */
 
 #ifndef __MLPACK_CORE_TREE_STATISTIC_HPP
 #define __MLPACK_CORE_TREE_STATISTIC_HPP
 
+namespace mlpack {
+namespace tree {
+
 /**
  * Empty statistic if you are not interested in storing statistics in your
  * tree.  Use this as a template for your own.
@@ -37,4 +38,7 @@
         const EmptyStatistic& left_stat, const EmptyStatistic& right_stat) { }
 };
 
+}; // namespace tree
+}; // namespace mlpack
+
 #endif // __MLPACK_CORE_TREE_STATISTIC_HPP




More information about the mlpack-svn mailing list