viper.comparison
Class TrackingEvaluation.TrackingMeasure

java.lang.Object
  extended byviper.comparison.distances.AttrMeasure
      extended byviper.comparison.TrackingEvaluation.TrackingMeasure
Enclosing class:
TrackingEvaluation

public static class TrackingEvaluation.TrackingMeasure
extends AttrMeasure

A measure specifically designed for tracking, this allows multiple child measures.


Constructor Summary
TrackingEvaluation.TrackingMeasure(java.lang.String attr, java.util.StringTokenizer st, boolean key)
          Constructs a new tracking measure from the given information.
 
Method Summary
 java.util.List getChildDistances()
          Gets the child measures.
 boolean isKey()
          Determines if this measure is a key measure, meaning that only perfect matches should count, and that it should be used to line up the tracking matches.
 
Methods inherited from class viper.comparison.distances.AttrMeasure
calculateDistancesAndThresh, distanceAgainst, distanceAgainstDynamic, equals, getDistances, getMetric, getStatistics, getStatThreshold, getStatType, getTolerance, hashCode, isValidFor, isValidMeasure, isValidTolerance, setMetric, setTolerance, thresh, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrackingEvaluation.TrackingMeasure

public TrackingEvaluation.TrackingMeasure(java.lang.String attr,
                                          java.util.StringTokenizer st,
                                          boolean key)
                                   throws ImproperMetricException
Constructs a new tracking measure from the given information.

Parameters:
attr - the attribute to associate with
st - the string describing the measure to parse
key - if the measure is a key measure
Throws:
ImproperMetricException - if there is an error found in the description
Method Detail

getChildDistances

public java.util.List getChildDistances()
Gets the child measures.

Returns:
the child measures

isKey

public boolean isKey()
Determines if this measure is a key measure, meaning that only perfect matches should count, and that it should be used to line up the tracking matches.

Returns: