com.rapidminer.operator.learner.tree
Class MaxDepthTermination

java.lang.Object
  extended by com.rapidminer.operator.learner.tree.MaxDepthTermination
All Implemented Interfaces:
Terminator

public class MaxDepthTermination
extends java.lang.Object
implements Terminator

Terminates if a maximal depth is reached.

Author:
Ingo Mierswa

Constructor Summary
MaxDepthTermination(int maxDepth)
           
 
Method Summary
 boolean shouldStop(ExampleSet exampleSet, int depth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxDepthTermination

public MaxDepthTermination(int maxDepth)
Method Detail

shouldStop

public boolean shouldStop(ExampleSet exampleSet,
                          int depth)
Specified by:
shouldStop in interface Terminator


Copyright © 2001-2009 by Rapid-I