org.dllearner.algorithms.el
Class StableHeuristic

java.lang.Object
  extended by org.dllearner.algorithms.el.StableHeuristic
All Implemented Interfaces:
Comparator<SearchTreeNode>, ELHeuristic

public class StableHeuristic
extends Object
implements ELHeuristic

A stable comparator for search tree nodes. Stable means that the order of nodes will not change during the run of the learning algorithm. In this implementation, this is ensured by using only covered examples and tree size as criteria.

Author:
Jens Lehmann

Constructor Summary
StableHeuristic()
           
 
Method Summary
 int compare(SearchTreeNode o1, SearchTreeNode o2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

StableHeuristic

public StableHeuristic()
Method Detail

compare

public int compare(SearchTreeNode o1,
                   SearchTreeNode o2)
Specified by:
compare in interface Comparator<SearchTreeNode>


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann