|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.comparison.TrackingEvaluation
Evaluates keyed descriptor pairs, as described by Kasturi et. al. in their paper.
| Nested Class Summary | |
static class |
TrackingEvaluation.TrackingMeasure
A measure specifically designed for tracking, this allows multiple child measures. |
| Nested classes inherited from class viper.comparison.Evaluation |
Evaluation.Information |
| Constructor Summary | |
TrackingEvaluation(EvaluationParameters epf)
Constructs a new tracking evaluation from the given set of paremters. |
|
| Method Summary | |
CompMatrix |
getMatrix()
Gets the current map from candidate descriptors to targets. |
java.util.Map |
getMeasureMap()
Return a map of DescPrototypes to their evaluations. |
java.lang.String |
getName()
Gets the name of the evalutation type. |
java.io.PrintWriter |
getOutput()
Gets the human readable output stream. |
java.io.PrintWriter |
getRaw()
Gets the raw output stream. |
Revealer |
getTicker()
Gets the current ticker UI object. |
int |
getTickerSize()
Get an estimate on how long it will take to perform the evaluation. |
boolean |
isPrintingHeaders()
Tests to see if the header and footer should be printed out. |
void |
parseEvaluation(VReader reader,
DescriptorConfigs dcfgs)
Parse the vreader section. |
Evaluation.Information |
printEvaluation()
Print out the results of this evaluation. |
void |
printFooter(Evaluation.Information total)
Prints the footer information, including overall scores. |
void |
printHeader()
Prints the header information, usually about what metrics and rules were used in the evaluation. |
void |
printMetricsTo(java.io.PrintWriter output)
Print out information about evaluation |
void |
printRawMetricsTo(java.io.PrintWriter raw)
Print evaluation info in terse format |
void |
setMatrix(CompMatrix cm)
Sets the matrix to evaluate. |
void |
setOutput(java.io.PrintWriter output)
Sets where human-readable information should be printed. |
void |
setPrintingHeaders(boolean on)
Set to print headers or not. |
void |
setRaw(java.io.PrintWriter raw)
Sets the machine readable raw output stream. |
void |
setTicker(Revealer ticker)
Sets the ui for progress |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TrackingEvaluation(EvaluationParameters epf)
epf - rules for the evaluation| Method Detail |
public void printMetricsTo(java.io.PrintWriter output)
Evaluation
printMetricsTo in interface Evaluationoutput - the output streampublic void printRawMetricsTo(java.io.PrintWriter raw)
Evaluation
printRawMetricsTo in interface Evaluationraw - the raw streampublic void setOutput(java.io.PrintWriter output)
Evaluation
setOutput in interface Evaluationoutput - the human readable output streampublic java.io.PrintWriter getOutput()
Evaluation
getOutput in interface Evaluationpublic void setRaw(java.io.PrintWriter raw)
Evaluation
setRaw in interface Evaluationraw - the machine readable streampublic java.io.PrintWriter getRaw()
public void setPrintingHeaders(boolean on)
Evaluation
setPrintingHeaders in interface Evaluationon - true to print headerspublic boolean isPrintingHeaders()
Evaluation
isPrintingHeaders in interface Evaluationpublic void setTicker(Revealer ticker)
Evaluation
setTicker in interface Evaluationticker - the progress uipublic Revealer getTicker()
public void setMatrix(CompMatrix cm)
Evaluation
setMatrix in interface Evaluationcm - the matrix to evaluatepublic CompMatrix getMatrix()
public int getTickerSize()
Evaluation
getTickerSize in interface Evaluationpublic void printHeader()
Evaluation
printHeader in interface Evaluationpublic void printFooter(Evaluation.Information total)
Evaluation
printFooter in interface Evaluationtotal - the totalpublic Evaluation.Information printEvaluation()
Evaluation
printEvaluation in interface Evaluation
public void parseEvaluation(VReader reader,
DescriptorConfigs dcfgs)
throws java.io.IOException
Evaluation
parseEvaluation in interface Evaluationreader - VReader, already pointing at the begin evaluation directive.dcfgs - the target data - the evaluation uses the target names
java.io.IOExceptionEvaluation.parseEvaluation(VReader, DescriptorConfigs)public java.util.Map getMeasureMap()
getMeasureMap in interface EvaluationEvaluation.getMeasureMap()public java.lang.String getName()
getName in interface EvaluationTracking Evaluation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||