INRIA & UMontrŽal

fr.inrialpes.exmo.align.impl.eval
Class SymMeanEvaluator

java.lang.Object
  extended byfr.inrialpes.exmo.align.impl.BasicEvaluator
      extended byfr.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

Field Summary
private  double classScore
           
private  double indScore
           
private  double propScore
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicEvaluator
align1, align2, result
 
Constructor Summary
SymMeanEvaluator(Alignment align1, Alignment align2)
          Creation
 
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
 

Field Detail

classScore

private double classScore

propScore

private double propScore

indScore

private double indScore
Constructor Detail

SymMeanEvaluator

public SymMeanEvaluator(Alignment align1,
                        Alignment align2)
Creation

Method Detail

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

INRIA & UMontrŽal

..no bottom yet...