|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unika.aifb.owltools.metrics.Metric
public abstract class Metric
Calculates a structural metric
Field Summary | |
---|---|
protected org.semanticweb.kaon2.api.Ontology |
context
Measurement context |
protected java.lang.String |
error
A possible error message when measuring failes |
java.lang.String |
metricsURIBase
The base namesapce for the generated measurement URIs |
protected org.semanticweb.kaon2.api.Ontology |
ontology
Measured ontology |
protected double |
result
The measurement result |
Method Summary | |
---|---|
org.semanticweb.kaon2.api.Ontology |
getContext()
The context of the measurement |
java.lang.String |
getError()
Contains the error message in case the measuring fails |
org.semanticweb.kaon2.api.Ontology |
getOntology()
The ontology being measured |
double |
getResult()
The result of the metric |
java.lang.String |
getURI()
Returns the URI of the metric measurement |
protected abstract boolean |
measure()
Implements the actual measurement |
abstract java.lang.String |
metricClassDescription()
Human-readable description of what the metric is measuring. |
abstract java.lang.String |
metricClassName()
Human-readable name of the Metric. |
abstract java.lang.String |
metricClassURI()
URI for the metric class. |
boolean |
succesfulMeasurement()
Has there been a succesful measurement? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String metricsURIBase
protected org.semanticweb.kaon2.api.Ontology ontology
protected org.semanticweb.kaon2.api.Ontology context
protected double result
protected java.lang.String error
Method Detail |
---|
public abstract java.lang.String metricClassName()
public abstract java.lang.String metricClassURI()
public abstract java.lang.String metricClassDescription()
public java.lang.String getURI()
public double getResult()
public org.semanticweb.kaon2.api.Ontology getOntology()
public org.semanticweb.kaon2.api.Ontology getContext()
public boolean succesfulMeasurement()
protected abstract boolean measure()
public java.lang.String getError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |