  
    public:
      /* \brief Create tree with parameters */
-@@ -350,6 +352,25 @@
+@@ -350,6 +352,22 @@
      continueLearn(features,labels,stack_entry,split,stop,visitor,randint);
  }
  

+
diff -urNb vigra-Version-1-10-0/include/vigra/random_forest/rf_decisionTree.hxx Vigra-src/include/vigra/random_forest/rf_decisionTree.hxx
--- vigra-Version-1-10-0/include/vigra/random_forest/rf_decisionTree.hxx	2013-11-18 17:48:16.000000000 +0100
+++ Vigra-src/include/vigra/random_forest/rf_decisionTree.hxx	2014-01-16 16:26:12.000000000 +0100
@@ -90,6 +90,8 @@
     ProblemSpec<> ext_param_;
     unsigned int classCount_;

         }
 
 
diff -urNb vigra-Version-1-10-0/include/vigra/random_forest/rf_nodeproxy.hxx Vigra-src/include/vigra/random_forest/rf_nodeproxy.hxx
--- vigra-Version-1-10-0/include/vigra/random_forest/rf_nodeproxy.hxx	2013-11-18 17:48:16.000000000 +0100
+++ Vigra-src/include/vigra/random_forest/rf_nodeproxy.hxx	2015-01-13 16:56:56.000000000 +0100
@@ -50,7 +50,11 @@
 namespace vigra
 {
 
-
+class DepthSplitterBase
+{
+public:
+  virtual int GetMaximumTreeDepth() const = 0;
+};
 
 enum NodeTags
 {
diff -urNb vigra-Version-1-10-0/include/vigra/random_forest/rf_split.hxx Vigra-src/include/vigra/random_forest/rf_split.hxx
--- vigra-Version-1-10-0/include/vigra/random_forest/rf_split.hxx	2013-11-18 17:48:16.000000000 +0100
+++ Vigra-src/include/vigra/random_forest/rf_split.hxx	2015-01-16 19:11:02.000000000 +0100
@@ -108,6 +108,11 @@
         \ref SplitBase::findBestSplit() or \ref SplitBase::makeTerminalNode().
     **/
 
+      virtual int GetMaximumTreeDepth() 
+      {
+        return 1000000000;
+      }
+
     template<class T>
     void set_external_parameters(ProblemSpec<T> const & in)
     {
diff -urNb vigra-Version-1-10-0/include/vigra/random_forest/rf_split-old.hxx Vigra-src/include/vigra/random_forest/rf_split-old.hxx
--- vigra-Version-1-10-0/include/vigra/random_forest/rf_split-old.hxx	1970-01-01 01:00:00.000000000 +0100
+++ Vigra-src/include/vigra/random_forest/rf_split-old.hxx	2014-03-31 08:46:18.000000000 +0200
@@ -0,0 +1,1383 @@
+/************************************************************************/
+/*                                                                      */
