Package org.obolibrary.robot.metrics
Class OntologyMetrics
- java.lang.Object
-
- org.obolibrary.robot.metrics.OntologyMetrics
-
public class OntologyMetrics extends Object
-
-
Constructor Summary
Constructors Constructor Description OntologyMetrics(org.semanticweb.owlapi.model.OWLOntology ontology)
OntologyMetrics(org.semanticweb.owlapi.model.OWLOntology ontology, CURIEShortFormProvider curieShortFormProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MeasureResult
getAllMetrics()
MeasureResult
getAllMetrics(String prefix)
MeasureResult
getEssentialMetrics()
MeasureResult
getEssentialMetrics(String prefix)
MeasureResult
getExtendedMetrics()
MeasureResult
getExtendedMetrics(String prefix)
MeasureResult
getExtendedReasonerMetrics(String prefix, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
MeasureResult
getExtendedReasonerMetrics(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
org.semanticweb.owlapi.model.OWLOntology
getOntology()
MeasureResult
getSimpleReasonerMetrics(String prefix, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
MeasureResult
getSimpleReasonerMetrics(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
-
-
-
Constructor Detail
-
OntologyMetrics
public OntologyMetrics(org.semanticweb.owlapi.model.OWLOntology ontology)
-
OntologyMetrics
public OntologyMetrics(org.semanticweb.owlapi.model.OWLOntology ontology, CURIEShortFormProvider curieShortFormProvider)
-
-
Method Detail
-
getEssentialMetrics
public MeasureResult getEssentialMetrics()
- Returns:
- the essential metrics
-
getExtendedMetrics
public MeasureResult getExtendedMetrics()
- Returns:
- the extended metrics
-
getAllMetrics
public MeasureResult getAllMetrics()
- Returns:
- all metrics
-
getEssentialMetrics
public MeasureResult getEssentialMetrics(String prefix)
- Parameters:
prefix
- a prefix to prepend to all the metrics, for example "bfo_"- Returns:
- essential metrics
-
getExtendedMetrics
public MeasureResult getExtendedMetrics(String prefix)
- Parameters:
prefix
- a prefix to prepend to all the metrics, for example "bfo_"- Returns:
- extended metrics
-
getSimpleReasonerMetrics
public MeasureResult getSimpleReasonerMetrics(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
- Parameters:
reasoner
- the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.- Returns:
- simple reasoner metrics
-
getExtendedReasonerMetrics
public MeasureResult getExtendedReasonerMetrics(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
- Parameters:
reasoner
- the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.- Returns:
- extended reasoner metrics
-
getSimpleReasonerMetrics
public MeasureResult getSimpleReasonerMetrics(String prefix, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
- Parameters:
prefix
- a prefix to prepend to all the metrics, for example "bfo_"reasoner
- the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.- Returns:
- simple reasoner metrics
-
getExtendedReasonerMetrics
public MeasureResult getExtendedReasonerMetrics(String prefix, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
- Parameters:
prefix
- a prefix to prepend to all the metrics, for example "bfo_"reasoner
- the reasoner to use to compute the metric; it is expected that this reasoner has the same ontology loaded as the one used by this class.- Returns:
- extended reasoner metrics
-
getAllMetrics
public MeasureResult getAllMetrics(String prefix)
- Parameters:
prefix
- a prefix to prepend to all the metrics, for example "bfo_"- Returns:
- all metrics
-
getOntology
public org.semanticweb.owlapi.model.OWLOntology getOntology()
- Returns:
- Ontology used for metrics computation
-
-