public class EvaluatedDescription<S extends Score> extends EvaluatedHypothesis<org.semanticweb.owlapi.model.OWLClassExpression,S>
Constructor and Description |
---|
EvaluatedDescription(org.semanticweb.owlapi.model.OWLClassExpression description,
S score)
Constructs an evaluated class expression using its score.
|
Modifier and Type | Method and Description |
---|---|
String |
asJSON()
This convenience method can be used to store and exchange evaluated
descriptions by transforming them to a JSON string.
|
int |
getDescriptionDepth() |
int |
getDescriptionLength() |
compareTo, getAccuracy, getDescription, getScore, setDescription, toString
public EvaluatedDescription(org.semanticweb.owlapi.model.OWLClassExpression description, S score)
description
- The class expression, which was evaluated.score
- The score of the class expression.public int getDescriptionLength()
OWLClassExpressionUtils.getLength(OWLClassExpression)
public int getDescriptionDepth()
OWLClassExpressionUtils.getDepth(OWLClassExpression)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann