public class GroupOutput extends CommonCLI
java -cp procalign.jar fr.inrialpes.exmo.align.util.GroupOutput [options]where the options are:
-o filename --output=filename -c --color -v --values -e --labels -m --measure -l list of compared algorithms -t output --type=output: tex/htmlThe input is taken in the current directory in a set of subdirectories (one per test) each directory contains a the alignment files (one per algorithm) for that test and the reference alignment file. If output is requested (
-o
flags), then output will be written to
output
if present, stdout by default. In case of the Latex output, there are numerous files generated (regardless the -o
flag).
$Id: GroupOutput.java 2170 2017-07-29 22:40:12Z euzenat $
Modifier and Type | Field and Description |
---|---|
(package private) static int[][] |
cellSpec |
(package private) java.lang.String |
color |
(package private) boolean |
labels |
(package private) java.lang.String[] |
listAlgo |
(package private) static org.slf4j.Logger |
logger |
(package private) int |
measure |
(package private) java.lang.String |
ontoDir |
(package private) java.io.PrintWriter |
output |
(package private) java.lang.String |
prefix |
(package private) static int |
SIZE |
(package private) java.lang.String |
type |
(package private) boolean |
values |
options, outputfilename, parameters
Constructor and Description |
---|
GroupOutput() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
colorFormat(double f) |
Evaluator |
eval(java.lang.String alignName1,
java.lang.String alignName2) |
double |
getMeasure(PRecEvaluator evaluator) |
void |
iterateAlgorithm() |
double[] |
iterateCells(java.lang.String algo) |
double |
iterateTests(java.lang.String algo,
int[] tests) |
static void |
main(java.lang.String[] args) |
void |
printPGFTeX(java.lang.String algo,
double[] cells) |
void |
printTSV(double[][] result) |
void |
run(java.lang.String[] args) |
java.lang.String |
stringFormat(double f) |
void |
usage() |
createListOption, createOption, createOptionalOption, createRequiredOption, exit, parseCommandLine, parseSpecificCommandLine, usage, usage, usage
static final org.slf4j.Logger logger
static int SIZE
static int[][] cellSpec
java.lang.String[] listAlgo
java.lang.String type
java.lang.String color
boolean labels
boolean values
int measure
java.io.PrintWriter output
java.lang.String ontoDir
java.lang.String prefix
public static void main(java.lang.String[] args)
public void run(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void iterateAlgorithm()
public double[] iterateCells(java.lang.String algo)
public double iterateTests(java.lang.String algo, int[] tests)
public Evaluator eval(java.lang.String alignName1, java.lang.String alignName2) throws AlignmentException
AlignmentException
public void printPGFTeX(java.lang.String algo, double[] cells)
public void printTSV(double[][] result)
public java.lang.String stringFormat(double f)
public double getMeasure(PRecEvaluator evaluator)
public java.lang.String colorFormat(double f)
(C) INRIA & friends, 2003-2020