edu.unika.aifb.owltools.metrics
Class AbsoluteDepth

java.lang.Object
  extended by edu.unika.aifb.owltools.metrics.Metric
      extended by edu.unika.aifb.owltools.metrics.AbsoluteDepth

public class AbsoluteDepth
extends Metric

The sum of the caridinalities of all subsumptionpaths in the ontology. Measure M1, Gangemi et al. TR 9/05


Field Summary
 
Fields inherited from class edu.unika.aifb.owltools.metrics.Metric
context, error, metricsURIBase, ontology, result
 
Constructor Summary
AbsoluteDepth(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 edu.unika.aifb.owltools.metrics.Metric
getContext, getError, getOntology, getResult, getURI, succesfulMeasurement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteDepth

public AbsoluteDepth(org.semanticweb.kaon2.api.Ontology ontologyToBeMeasured,
                     java.lang.String URI,
                     org.semanticweb.kaon2.api.Ontology contextOfMeasurement)
Method Detail

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