public abstract class AbstractHeuristic extends AbstractComponent implements Heuristic<OENode>
Constructor and Description |
---|
AbstractHeuristic() |
Modifier and Type | Method and Description |
---|---|
int |
compare(OENode node1,
OENode node2) |
abstract double |
getNodeScore(OENode node) |
void |
init()
Method to be called after the component has been configured.
|
isInitialized
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 AbstractHeuristic()
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 int compare(OENode node1, OENode node2)
compare
in interface Comparator<OENode>
public abstract double getNodeScore(OENode node)
getNodeScore
in interface Heuristic<OENode>
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann