public class ThresholdGraphEvaluator extends GraphEvaluator
GraphEvaluator.EvalCell
Modifier and Type | Field and Description |
---|---|
(package private) static org.slf4j.Logger |
logger |
private double |
opt |
private int |
STEP |
cellSet, invalid, nbexpected, points
Constructor and Description |
---|
ThresholdGraphEvaluator() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Pair> |
eval()
Compute threshold graph
|
java.util.Vector<Pair> |
eval(java.util.Properties params)
Returns a list of Measure at threshold points (Pairs)
From an ordered vector of cells with their correctness status
The basic strategy would be:
Take the alignment/(Compute P/R/Apply threshold)+
But it is better to: take the cells in reverse order
Compute the measures on the fly
|
double |
getGlobalResult()
Retuns a simple global evaluation measure if any
|
void |
write(java.io.PrintWriter writer)
This output the result
|
java.lang.String |
xlabel() |
java.lang.String |
ylabel() |
getStep, ingest, initCellSet, isCorrect, isValid, nbCells, setStep, writePlot, writeXMLMap
static final org.slf4j.Logger logger
private int STEP
private double opt
public java.util.Vector<Pair> eval()
eval
in class GraphEvaluator
public java.util.Vector<Pair> eval(java.util.Properties params)
eval
in class GraphEvaluator
params:
- parameters of the evaluationpublic void write(java.io.PrintWriter writer) throws java.io.IOException
writer:
- the writer where to print the resultjava.io.IOException
- when something goes wrongpublic double getGlobalResult()
GraphEvaluator
getGlobalResult
in class GraphEvaluator
public java.lang.String xlabel()
xlabel
in class GraphEvaluator
public java.lang.String ylabel()
ylabel
in class GraphEvaluator
(C) INRIA & friends, 2003-2020