public class LexicographicHeuristic extends Object implements ExampleBasedHeuristic
Constructor and Description |
---|
LexicographicHeuristic() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ExampleBasedNode n1,
ExampleBasedNode n2) |
boolean |
equals(Object o) |
double |
getNodeScore(ExampleBasedNode node) |
void |
init()
Method to be called after the component has been configured.
|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public LexicographicHeuristic()
public int compare(ExampleBasedNode n1, ExampleBasedNode n2)
compare
in interface Comparator<ExampleBasedNode>
public boolean equals(Object o)
equals
in interface Comparator<ExampleBasedNode>
equals
in class Object
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(ExampleBasedNode node)
getNodeScore
in interface Heuristic<ExampleBasedNode>
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann