M
- the metric typeAbstractOWLMetric
, AverageAssertedNamedSuperclassCount
, AxiomCount
, AxiomCountMetric
, AxiomTypeMetric
, DLExpressivity
, DoubleValuedMetric
, GCICount
, HiddenGCICount
, ImportClosureSize
, IntegerValuedMetric
, LogicalAxiomCount
, MaximumNumberOfNamedSuperclasses
, NumberOfClassesWithMultipleInheritance
, ObjectCountMetric
, ReferencedClassCount
, ReferencedDataPropertyCount
, ReferencedIndividualCount
, ReferencedObjectPropertyCount
, UnsatisfiableClassCountMetric
public interface OWLMetric<M>
Modifier and Type | Method | Description |
---|---|---|
void |
dispose() |
Diposes of the metric.
|
OWLOntologyManager |
getManager() |
Gets the ontology manager which, amongst other things can be used to
obtain the imports closure of the current ontology.
|
String |
getName() |
Gets the human readable name of this metric.
|
OWLOntology |
getOntology() |
Gets the ontology which the value of the metric should be based on.
|
M |
getValue() |
Gets the value of this metric.
|
boolean |
isImportsClosureUsed() |
Determines if the computation of the metric should take into account the
imports closure of the current ontology.
|
void |
setImportsClosureUsed(boolean b) |
Sets whether this metric uses the imports closure of the current
ontology.
|
void |
setOntology(OWLOntology ontology) |
Sets the "root" ontology.
|
@Nonnull String getName()
@Nonnull M getValue()
toString
method of the object returned by this method
will result in a human readable string that displays the value of
the metric.void setOntology(@Nonnull OWLOntology ontology)
ontology
- The ontology for which the metric should be computed.@Nonnull OWLOntology getOntology()
boolean isImportsClosureUsed()
true
if the imports closure of the current ontology is
taken into account when computing the value of this metric, or
false
if the imports closure isn't taken into account
when computing this metric.void setImportsClosureUsed(boolean b)
b
- the new imports closure used true
if this metric uses the
imports closure of the current ontology, otherwise false.@Nonnull OWLOntologyManager getManager()
OWLOntologyManager
.void dispose()
Copyright © 2018 The University of Manchester. All rights reserved.