public abstract class EvaluatedHypothesis<T extends org.semanticweb.owlapi.model.OWLObject,S extends Score> extends Object implements Serializable, Comparable<EvaluatedHypothesis<T,S>>
| Constructor and Description |
|---|
EvaluatedHypothesis(T hypothesis,
S score)
Constructs an evaluated hypothesis using its score.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EvaluatedHypothesis<T,S> o) |
double |
getAccuracy() |
T |
getDescription()
Gets the description, which was evaluated.
|
S |
getScore() |
void |
setDescription(T hypothesis)
Used for rewriting (simplification, beautification) of
evaluated hypotheses returned by the learning algorithm.
|
String |
toString() |
public EvaluatedHypothesis(T hypothesis, S score)
hypothesis - The hypothesis, which was evaluated.score - The score of the hypothesis.public T getDescription()
public void setDescription(T hypothesis)
hypothesis - The hypothesis to set.public double getAccuracy()
Score.getAccuracy()public int compareTo(@NotNull EvaluatedHypothesis<T,S> o)
compareTo in interface Comparable<EvaluatedHypothesis<T extends org.semanticweb.owlapi.model.OWLObject,S extends Score>>
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann