Class DLExpressivity

  extended by org.semanticweb.owl.metrics.AbstractOWLMetric<java.lang.String>
      extended by org.semanticweb.owl.metrics.DLExpressivity
All Implemented Interfaces:
OWLMetric<java.lang.String>, OWLOntologyChangeListener

public class DLExpressivity
extends AbstractOWLMetric<java.lang.String>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 27-Jul-2007

Constructor Summary
DLExpressivity(OWLOntologyManager owlOntologyManager)
Method Summary
protected  void disposeMetric()
 java.lang.String getName()
          Gets the human readable name of this metic
protected  boolean isMetricInvalidated(java.util.List<? extends OWLOntologyChange> changes)
          Determines if the specified list of changes will cause the value of this metric to be invalid.
 java.lang.String recomputeMetric()
Methods inherited from class org.semanticweb.owl.metrics.AbstractOWLMetric
dispose, getManager, getOntologies, getOntology, getValue, isImportsClosureUsed, ontologiesChanged, setImportsClosureUsed, setOntology, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public DLExpressivity(OWLOntologyManager owlOntologyManager)
Method Detail


public java.lang.String recomputeMetric()
Specified by:
recomputeMetric in class AbstractOWLMetric<java.lang.String>


protected void disposeMetric()
Specified by:
disposeMetric in class AbstractOWLMetric<java.lang.String>


public java.lang.String getName()
Description copied from interface: OWLMetric
Gets the human readable name of this metic

A label which represents the human readable name of this metric.


protected boolean isMetricInvalidated(java.util.List<? extends OWLOntologyChange> changes)
Description copied from class: AbstractOWLMetric
Determines if the specified list of changes will cause the value of this metric to be invalid.

Specified by:
isMetricInvalidated in class AbstractOWLMetric<java.lang.String>
changes - The list of changes which will be examined to determine if the metric is now invalid.
true if the metric value is invalidated by the specified list of changes, or false if the list of changes do not cause the value of this metric to be invalidated.