E - the entity typepublic abstract class ObjectCountMetric<E> extends IntegerValuedMetric
| Constructor and Description |
|---|
ObjectCountMetric(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disposeMetric() |
String |
getName()
Gets the human readable name of this metric
|
protected Set<? extends E> |
getObjects() |
protected abstract Set<? extends E> |
getObjects(org.semanticweb.owlapi.model.OWLOntology ont) |
protected abstract String |
getObjectTypeName() |
protected boolean |
isMetricInvalidated(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
Determines if the specified list of changes will cause the value of this
metric to be invalid.
|
Integer |
recomputeMetric() |
dispose, getManager, getOntologies, getOntology, getValue, isImportsClosureUsed, ontologiesChanged, setImportsClosureUsed, setOntology, toStringpublic ObjectCountMetric(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
owlOntologyManager - manager to useprotected abstract String getObjectTypeName()
public String getName()
OWLMetricprotected abstract Set<? extends E> getObjects(org.semanticweb.owlapi.model.OWLOntology ont)
public Integer recomputeMetric()
recomputeMetric in class AbstractOWLMetric<Integer>protected boolean isMetricInvalidated(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
AbstractOWLMetricisMetricInvalidated in class AbstractOWLMetric<Integer>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.protected void disposeMetric()
disposeMetric in class AbstractOWLMetric<Integer>Copyright © 2013 The University of Manchester. All Rights Reserved.