fr.inrialpes.exmo.align.impl.eval
Class ExtPREvaluator
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicEvaluator
fr.inrialpes.exmo.align.impl.eval.ExtPREvaluator
- All Implemented Interfaces:
- Evaluator
- public class ExtPREvaluator
- extends BasicEvaluator
Implement extended precision and recall between alignments.
These are the measures corresponding to [Ehrig&Euzenat2005].
The implementation is based on that of PRecEvaluator.
- Version:
- $Id: ExtPREvaluator.java 236 2006-05-19 12:32:05Z euzenat $
- Author:
- Jerome Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
onto1
private OWLOntology onto1
onto2
private OWLOntology onto2
symALPHA
private double symALPHA
editALPHA
private double editALPHA
editBETA
private double editBETA
oriented
private double oriented
symprec
private double symprec
symrec
private double symrec
effprec
private double effprec
effrec
private double effrec
orientprec
private double orientprec
orientrec
private double orientrec
nbexpected
private int nbexpected
nbfound
private int nbfound
symsimilarity
private double symsimilarity
effsimilarity
private double effsimilarity
orientsimilarity
private double orientsimilarity
ExtPREvaluator
public ExtPREvaluator(Alignment align1,
Alignment align2)
- Creation
getSymPrecision
public double getSymPrecision()
getSymRecall
public double getSymRecall()
getSymSimilarity
public double getSymSimilarity()
getEffPrecision
public double getEffPrecision()
getEffRecall
public double getEffRecall()
getEffSimilarity
public double getEffSimilarity()
getOrientPrecision
public double getOrientPrecision()
getOrientRecall
public double getOrientRecall()
getOrientSimilarity
public double getOrientSimilarity()
getExpected
public int getExpected()
getFound
public int getFound()
eval
public double eval(Parameters params)
throws AlignmentException
- This is a partial implementation of [Ehrig & Euzenat 2005]
because the relations are not taken into account
(they are supposed to be always =)
- Throws:
AlignmentException
computeSymSimilarity
protected double computeSymSimilarity(Cell c1,
java.util.Enumeration s2)
relativePosition
protected int relativePosition(OWLEntity o1,
OWLEntity o2,
OWLOntology onto)
superClassPosition
public int superClassPosition(OWLClass class1,
OWLClass class2,
OWLOntology onto)
throws OWLException
- Throws:
OWLException
isSuperClass
public int isSuperClass(OWLClass class1,
OWLClass class2,
OWLOntology ontology)
throws OWLException
- Throws:
OWLException
isSuperProperty
public boolean isSuperProperty(OWLProperty prop1,
OWLProperty prop2,
OWLOntology ontology)
throws OWLException
- Throws:
OWLException
write
public void write(java.io.PrintWriter writer)
throws java.io.IOException
- This now output the results in Lockheed format.
- Specified by:
write
in interface Evaluator
- Overrides:
write
in class BasicEvaluator
- Throws:
java.io.IOException
..no bottom yet...