fr.inrialpes.exmo.align.impl.eval
Class SymMeanEvaluator
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicEvaluator
fr.inrialpes.exmo.align.impl.eval.SymMeanEvaluator
- All Implemented Interfaces:
- Evaluator
- public class SymMeanEvaluator
- extends BasicEvaluator
Evaluate proximity between two alignments.
This function implements a simple weighted symetric difference.
The highest the value the closest are the alignments:
1: the alignments are exactly the same, with the same strenghts
0: the alignments do not share a single cell
- Version:
- $Id: SymMeanEvaluator.java,v 1.4 2004/11/23 09:23:44 euzenat Exp $
- Author:
- Jerome Euzenat
Method Summary |
double |
eval(Parameters params)
Run the evaluation between the two ontologies. |
void |
write(java.io.PrintWriter writer)
Outputs (in XML/RDF) a full report on the proximity of the two
ontologies. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classScore
private double classScore
propScore
private double propScore
indScore
private double indScore
SymMeanEvaluator
public SymMeanEvaluator(Alignment align1,
Alignment align2)
- Creation
eval
public double eval(Parameters params)
throws AlignmentException
- Description copied from interface:
Evaluator
- Run the evaluation between the two ontologies.
Returns a double (between 0 and 1) providing an idea of the
proximity
- Throws:
AlignmentException
write
public void write(java.io.PrintWriter writer)
throws java.io.IOException
- Description copied from interface:
Evaluator
- Outputs (in XML/RDF) a full report on the proximity of the two
ontologies.
- Specified by:
write
in interface Evaluator
- Overrides:
write
in class BasicEvaluator
- Throws:
java.io.IOException
..no bottom yet...