INRIA & friends

fr.inrialpes.exmo.align.util
Class GenPlot

java.lang.Object
  extended byfr.inrialpes.exmo.align.util.GenPlot

public class GenPlot
extends java.lang.Object

A basic class for synthesizing the alignment results of an algorithm by a precision recall graph. These graphs are however computed on averaging the precision recall/graphs on test directories instead of recording the actual precision recall graphs which would amount at recoding all the valid and invalid alignment cells and their level.

  java -cp procalign.jar fr.inrialpes.exmo.align.util.GenPlot [options]
  
where the options are:
  -o filename --output=filename
  -d debug --debug=level
  -l list of compared algorithms
  -t output --type=output: xml/tex/html/ascii
 
The 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: GenPlot.java 238 2006-05-19 12:33:18Z euzenat $
 

Author:
Jérôme Euzenat

Field Summary
(package private) static int debug
           
(package private) static java.lang.String fileNames
           
(package private) static java.util.Vector listAlgo
           
(package private) static java.util.Hashtable loaded
           
(package private) static java.lang.String outFile
           
(package private) static java.io.PrintWriter output
           
(package private) static Parameters params
           
(package private) static int STEP
           
(package private) static java.lang.String type
           
 
Constructor Summary
GenPlot()
           
 
Method Summary
static PRGraphEvaluator eval(java.lang.String alignName1, java.lang.String alignName2)
           
static void iterateAlignments(java.io.File dir, double[][] result)
           
static double[][] iterateDirectories()
          Iterate on each subdirectory Returns a vector[ each algo ] of vector [ each point ] The points are computed by aggregating the values (and in the end computing the average)
static void main(java.lang.String[] args)
           
static void printPGFTex(double[][] result)
          This does average plus plot
static void printTSV(double[][] result)
           
static void run(java.lang.String[] args)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STEP

static int STEP

params

static Parameters params

listAlgo

static java.util.Vector listAlgo

fileNames

static java.lang.String fileNames

outFile

static java.lang.String outFile

type

static java.lang.String type

debug

static int debug

loaded

static java.util.Hashtable loaded

output

static java.io.PrintWriter output
Constructor Detail

GenPlot

public GenPlot()
Method Detail

main

public static void main(java.lang.String[] args)

run

public static void run(java.lang.String[] args)
                throws java.lang.Exception
Throws:
java.lang.Exception

iterateDirectories

public static double[][] iterateDirectories()
Iterate on each subdirectory Returns a vector[ each algo ] of vector [ each point ] The points are computed by aggregating the values (and in the end computing the average)


iterateAlignments

public static void iterateAlignments(java.io.File dir,
                                     double[][] result)

eval

public static PRGraphEvaluator eval(java.lang.String alignName1,
                                    java.lang.String alignName2)

printPGFTex

public static void printPGFTex(double[][] result)
This does average plus plot


printTSV

public static void printTSV(double[][] result)

usage

public static void usage()

INRIA & friends

..no bottom yet...