marytts.tools.voiceimport.traintrees
Interface DistanceMeasure

All Known Implementing Classes:
DurationDistanceMeasure, F0ContourPolynomialDistanceMeasure

public interface DistanceMeasure

Author:
marc

Method Summary
 float distance(FeatureVector fv1, FeatureVector fv2)
          Compute the distance between two feature vectors.
 float squaredDistance(FeatureVector fv1, FeatureVector fv2)
          Compute the squared distance between two feature vectors.
 

Method Detail

distance

float distance(FeatureVector fv1,
               FeatureVector fv2)
Compute the distance between two feature vectors.

Parameters:
fv1 -
fv2 -
Returns:
a non-negative float

squaredDistance

float squaredDistance(FeatureVector fv1,
                      FeatureVector fv2)
Compute the squared distance between two feature vectors.

Parameters:
fv1 -
fv2 -
Returns:
a non-negative float