edu.unika.aifb.owltools.metrics
Class MaximalDepth
java.lang.Object
edu.unika.aifb.owltools.metrics.Metric
edu.unika.aifb.owltools.metrics.MaximalDepth
public class MaximalDepth
- extends Metric
Calculates the longest asserted subsumption path in the class hierarchy.
Measure M3, Gangemi et al. TR 9/05
Constructor Summary |
MaximalDepth(org.semanticweb.kaon2.api.Ontology ontologyToBeMeasured,
java.lang.String URI,
org.semanticweb.kaon2.api.Ontology contextOfMeasurement)
|
Method Summary |
protected boolean |
measure()
Implements the actual measurement |
java.lang.String |
metricClassDescription()
Human-readable description of what the metric is measuring. |
java.lang.String |
metricClassName()
Human-readable name of the Metric. |
java.lang.String |
metricClassURI()
URI for the metric class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaximalDepth
public MaximalDepth(org.semanticweb.kaon2.api.Ontology ontologyToBeMeasured,
java.lang.String URI,
org.semanticweb.kaon2.api.Ontology contextOfMeasurement)
metricClassName
public java.lang.String metricClassName()
- Description copied from class:
Metric
- Human-readable name of the Metric. Needs to be implemented by all metrics
- Specified by:
metricClassName
in class Metric
- Returns:
- Name of the metric
metricClassURI
public java.lang.String metricClassURI()
- Description copied from class:
Metric
- URI for the metric class. Needs to be implemented by all metrics
- Specified by:
metricClassURI
in class Metric
- Returns:
- URI of the metric
metricClassDescription
public java.lang.String metricClassDescription()
- Description copied from class:
Metric
- Human-readable description of what the metric is measuring. Needs to
be implemented by all metrics
- Specified by:
metricClassDescription
in class Metric
- Returns:
- Description of the metric
measure
protected boolean measure()
- Description copied from class:
Metric
- Implements the actual measurement
- Specified by:
measure
in class Metric
- Returns:
- true if the evaluation was succesful, else false