|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.metric.IncoherenceMetric
public class IncoherenceMetric
Replaces the old IMerasureProblem class and is under development at the moment to be used inside SEALS maybe via the Alignment API. Only computes the max-card measure, can be used with a timeout, and returns the score so far computed (= a lower bound for the correct value). It will be applied only to a subset of the alignment which is the set of those correspondences that have a confidence > 0 and are equivalence correspondences.
Constructor Summary | |
---|---|
IncoherenceMetric()
Constructs an incoherence metric with default timeout. |
|
IncoherenceMetric(long timeout)
Constructs an incoherence metric with timeout specified in millis. |
Method Summary | |
---|---|
void |
eval(LocalOntology sourceOnt,
LocalOntology targetOnt,
Mapping mapping)
Runs an evaluation by applying the incoherence metric a.k.a maximum cardinality incoherence measure (as defined in Meilicke,Stuckenschmidt OM 2008). |
boolean |
evaluationSuccessful()
Checks whether the evaluation was successful and generated a meaningful value. |
boolean |
evaluationTerminated()
|
double |
getDegreeOfIncoherence()
Returns the degree of incoherence. |
java.lang.String |
getErrorMessage()
If the evaluation has not been successful, a string representations of caught exceptions can be retrieved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncoherenceMetric()
public IncoherenceMetric(long timeout)
Method Detail |
---|
public void eval(LocalOntology sourceOnt, LocalOntology targetOnt, Mapping mapping)
sourceOntPathOrUri
- Filepath or URL of the source ontology.targetOntPathOrUri
- Filepath or URL of the target ontology.mappingPathOrUri
- Filepath or URL of the target ontology.public boolean evaluationTerminated()
public boolean evaluationSuccessful()
public java.lang.String getErrorMessage()
public double getDegreeOfIncoherence()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |