public class StableHeuristic extends Object implements ELHeuristic
Constructor and Description |
---|
StableHeuristic() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SearchTreeNode o1,
SearchTreeNode o2) |
double |
getNodeScore(SearchTreeNode node) |
void |
init()
Method to be called after the component has been configured.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public StableHeuristic()
public int compare(SearchTreeNode o1, SearchTreeNode o2)
compare
in interface Comparator<SearchTreeNode>
public void init() throws ComponentInitException
Component
init
in interface Component
ComponentInitException
- This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
re-throw occurring exception as ComponentInitException and
giving an error message as well as the actually exception by
using the constructor ComponentInitException(String, Throwable)
.public double getNodeScore(SearchTreeNode node)
getNodeScore
in interface Heuristic<SearchTreeNode>
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann