org.dllearner.algorithms.refinement2
Class NodeComparatorStable
java.lang.Object
org.dllearner.algorithms.refinement2.NodeComparatorStable
- All Implemented Interfaces:
- Comparator<ExampleBasedNode>
public class NodeComparatorStable
- extends Object
- implements Comparator<ExampleBasedNode>
This comparator is stable, because it only takes covered examples, concept
length and the concepts itself (using again a stable comparator) into
account, which do not change during the run of the algorithm.
- Author:
- Jens Lehmann
NodeComparatorStable
public NodeComparatorStable()
compare
public int compare(ExampleBasedNode n1,
ExampleBasedNode n2)
- Specified by:
compare in interface Comparator<ExampleBasedNode>
equals
public boolean equals(Object o)
- Specified by:
equals in interface Comparator<ExampleBasedNode>- Overrides:
equals in class Object
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann