|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.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 evaluationMethod Detail |
public void printMetricsTo(java.io.PrintWriter output)
Evaluation
printMetricsTo
in interface Evaluation
output
- the output streampublic void printRawMetricsTo(java.io.PrintWriter raw)
Evaluation
printRawMetricsTo
in interface Evaluation
raw
- the raw streampublic void setOutput(java.io.PrintWriter output)
Evaluation
setOutput
in interface Evaluation
output
- the human readable output streampublic java.io.PrintWriter getOutput()
Evaluation
getOutput
in interface Evaluation
public void setRaw(java.io.PrintWriter raw)
Evaluation
setRaw
in interface Evaluation
raw
- the machine readable streampublic java.io.PrintWriter getRaw()
public void setPrintingHeaders(boolean on)
Evaluation
setPrintingHeaders
in interface Evaluation
on
- true to print headerspublic boolean isPrintingHeaders()
Evaluation
isPrintingHeaders
in interface Evaluation
public void setTicker(Revealer ticker)
Evaluation
setTicker
in interface Evaluation
ticker
- the progress uipublic Revealer getTicker()
public void setMatrix(CompMatrix cm)
Evaluation
setMatrix
in interface Evaluation
cm
- the matrix to evaluatepublic CompMatrix getMatrix()
public int getTickerSize()
Evaluation
getTickerSize
in interface Evaluation
public void printHeader()
Evaluation
printHeader
in interface Evaluation
public void printFooter(Evaluation.Information total)
Evaluation
printFooter
in interface Evaluation
total
- 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 Evaluation
reader
- VReader, already pointing at the begin evaluation directive.dcfgs
- the target data - the evaluation uses the target names
java.io.IOException
Evaluation.parseEvaluation(VReader, DescriptorConfigs)
public java.util.Map getMeasureMap()
getMeasureMap
in interface Evaluation
Evaluation.getMeasureMap()
public java.lang.String getName()
getName
in interface Evaluation
Tracking Evaluation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |