viper.descriptors.attributes
Interface Measurable.Difference

All Known Implementing Classes:
Distances.DefaultDifference
Enclosing interface:
Measurable

public static interface Measurable.Difference

For attributes that have several different distance metrics, it is often convenient to save some calculations; this interface is for keeping the computed data around for a bit. TODO-davidm: change return values from Object to Measurable


Method Summary
 java.lang.Object getAlpha()
          Gets the target value.
 java.lang.Object getBeta()
          Gets the candidate object.
 java.lang.Object getBlackout()
          Gets the blackout value.
 CanonicalFileDescriptor getFileInformation()
          Gets information about the source media file where the object originated.
 java.lang.Object getIgnore()
          Gets the value to ignore/region to ignore.
 

Method Detail

getAlpha

public java.lang.Object getAlpha()
Gets the target value.

Returns:
the target value

getBeta

public java.lang.Object getBeta()
Gets the candidate object.

Returns:
the candidate measurable

getBlackout

public java.lang.Object getBlackout()
Gets the blackout value.

Returns:
the blackout value

getIgnore

public java.lang.Object getIgnore()
Gets the value to ignore/region to ignore.

Returns:
the don't care value

getFileInformation

public CanonicalFileDescriptor getFileInformation()
Gets information about the source media file where the object originated.

Returns:
the source media description