cbr
Interface FeatureVector

All Known Implementing Classes:
CCV

public interface FeatureVector

This interface represents a feature vector as used for Content-Based Retrieval (CBR). It defines methods for computing a measure of similarity between feature vectors that must be implemented by feature vector classes.

Version:
"$Id: FeatureVector.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Volker Roth

Method Summary
 float distance(FeatureVector v)
          This method computes the distance between this vector and the given one.
 

Method Detail

distance

public float distance(FeatureVector v)
This method computes the distance between this vector and the given one. The distance is represented by a value in the range [0.0,1.0]. A value of 0 means both vectors are identical. A value of 1.0 denotes infinite distance.

Parameters:
v - The feature vector to compare to.
Returns:
The measure of similarity between this and the given feature vector.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.