maltcms.commands.distances
Interface IDtwSimilarityFunction
- All Superinterfaces:
- cross.IConfigurable, Serializable
- All Known Implementing Classes:
- DtwPairwiseSimilarity, DtwTimePenalizedPairwiseSimilarity
public interface IDtwSimilarityFunction
- extends cross.IConfigurable
Interface to define classes, comparing arrays, especially mass spectra by
some function and returning a double value as result.
- Author:
- nilshoffmann
Methods inherited from interface cross.IConfigurable |
configure |
apply
double apply(int i1,
int i2,
double time1,
double time2,
Array t1,
Array t2)
- if i1 && i2 > 0 => apply distance to indices only else apply to all
elements of array
- Parameters:
i1
- i2
- t1
- t2
-
- Returns:
getCompressionWeight
double getCompressionWeight()
getMatchWeight
double getMatchWeight()
getExpansionWeight
double getExpansionWeight()
setCompressionWeight
void setCompressionWeight(double d)
setMatchWeight
void setMatchWeight(double d)
setExpansionWeight
void setExpansionWeight(double d)
minimize
boolean minimize()
Copyright © 2007-2012. All Rights Reserved.