|
Alignment API and Server 3.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.impl.BasicEvaluator
fr.inrialpes.exmo.align.impl.eval.PRGraphEvaluator
public class PRGraphEvaluator
Compute the precision recall graph on 11 points The first alignment is thus the expected one.
Field Summary | |
---|---|
private Vector<Pair> |
points
|
private double[] |
precisions
|
private int |
STEP
|
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicEvaluator |
---|
align1, align2, result |
Constructor Summary | |
---|---|
PRGraphEvaluator(Alignment align1,
Alignment align2)
Creation: A priori, evaluators can deal with any kind of alignments. |
Method Summary | |
---|---|
double |
eval(Parameters params)
Compute precision and recall graphs. |
double |
eval(Parameters params,
Object cache)
Run the evaluation between the two ontologies. |
double |
getPrecision(int i)
|
void |
write(PrintWriter writer)
This output the result |
void |
writeFullPlot(PrintWriter writer)
This output the result |
void |
writePlot(PrintWriter writer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int STEP
private double[] precisions
private Vector<Pair> points
Constructor Detail |
---|
public PRGraphEvaluator(Alignment align1, Alignment align2)
Method Detail |
---|
public double eval(Parameters params) throws AlignmentException
AlignmentException
public double eval(Parameters params, Object cache) throws AlignmentException
Evaluator
AlignmentException
public void write(PrintWriter writer) throws IOException
write
in interface Evaluator
write
in class BasicEvaluator
IOException
public void writeFullPlot(PrintWriter writer) throws IOException
IOException
public void writePlot(PrintWriter writer) throws IOException
IOException
public double getPrecision(int i)
|
Alignment API and Server 3.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |