public class RelevanceWeightedStableHeuristic extends Object implements ELHeuristic
Constructor and Description |
---|
RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe,
List<RelevanceMetric> relevanceMetrics) |
RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe,
RelevanceMetric... relevanceMetrics) |
RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe,
RelevanceWeightings weightings,
List<RelevanceMetric> relevanceMetrics) |
RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe,
RelevanceWeightings weightings,
RelevanceMetric... relevanceMetrics) |
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.
|
void |
setClassToDescribe(org.semanticweb.owlapi.model.OWLClass classToDescribe) |
void |
setRelevanceMetrics(List<RelevanceMetric> relevanceMetrics) |
void |
setWeightings(RelevanceWeightings weightings) |
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 RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe, RelevanceWeightings weightings, RelevanceMetric... relevanceMetrics)
public RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe, RelevanceWeightings weightings, List<RelevanceMetric> relevanceMetrics)
public RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe, RelevanceMetric... relevanceMetrics)
public RelevanceWeightedStableHeuristic(org.semanticweb.owlapi.model.OWLClass classToDescribe, List<RelevanceMetric> relevanceMetrics)
public void setWeightings(RelevanceWeightings weightings)
weightings
- the weightings to setpublic void setRelevanceMetrics(List<RelevanceMetric> relevanceMetrics)
relevanceMetrics
- the relevanceMetrics to setpublic void setClassToDescribe(org.semanticweb.owlapi.model.OWLClass classToDescribe)
classToDescribe
- the classToDescribe to setpublic double getNodeScore(SearchTreeNode node)
getNodeScore
in interface Heuristic<SearchTreeNode>
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)
. DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann