|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.comparison.TrackingInformation
Collects scores for the tracking evaluatoin type
Constructor Summary | |
TrackingInformation(java.lang.Object ID)
Create a new tracking information object with the given default id. |
Method Summary | |
void |
add(Evaluation.Information other)
Sums another information to this one, usually from two different CompMatrices. |
void |
addMetric(java.lang.String attrName,
Distance metric)
Adds a new metric to the collection. |
java.util.Map |
getDatasets(java.lang.String name)
Get a map of chart titles (actually, distance objects) to Datasets. |
java.lang.String |
getLayout()
Gets the layout for the toString format. |
java.util.List |
getOrder()
Gets the order of output. |
double |
getValue(java.lang.String attrName,
Distance metric)
Gets the current value of the metric on the specified attribute type. |
boolean |
hasInformation()
Indicates if anything was found. |
void |
setOrder(java.util.List order)
Sets the order of output. |
void |
setValue(java.lang.String attrName,
Distance metric,
double value)
Sets the value of this information |
void |
setValue(java.lang.String attrName,
Distance metric,
java.lang.Number value)
Sets the value of this information |
java.lang.String |
toString()
Get output suitable for .raw files. |
java.lang.String |
toVerbose()
Get output suitable for .out files; may include new lines. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TrackingInformation(java.lang.Object ID)
ID
- the descriptor id to associate with the tracking informationMethod Detail |
public boolean hasInformation()
Evaluation.Information
hasInformation
in interface Evaluation.Information
if the comparison graph was non-emptypublic java.lang.String toVerbose()
Evaluation.Information
toVerbose
in interface Evaluation.Information
public java.lang.String toString()
Evaluation.Information
toString
in interface Evaluation.Information
public java.lang.String getLayout()
Evaluation.Information
getLayout
in interface Evaluation.Information
public void add(Evaluation.Information other)
Evaluation.Information
add
in interface Evaluation.Information
other
- the information to add to this
public void setOrder(java.util.List order)
order
- a list of Distance
functorspublic java.util.List getOrder()
Distance
functorspublic void setValue(java.lang.String attrName, Distance metric, double value)
attrName
- the attribute namemetric
- the metric used for trackingvalue
- the value of the track on the given attributepublic void setValue(java.lang.String attrName, Distance metric, java.lang.Number value)
attrName
- the attribute namemetric
- the metric used for trackingvalue
- the value of the track on the given attributepublic void addMetric(java.lang.String attrName, Distance metric)
attrName
- the attribute for the metricmetric
- the distance metricpublic double getValue(java.lang.String attrName, Distance metric)
attrName
- the attributemetric
- the metric
public java.util.Map getDatasets(java.lang.String name)
Evaluation.Information
getDatasets
in interface Evaluation.Information
name
- Associate the series in each dataset with this name.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |