public interface SimFunc<X extends PeakAnnotation,Y extends PeakAnnotation>
| Modifier and Type | Method and Description |
|---|---|
double |
calcSimilarity(PeakList<X> plX,
PeakList<Y> plY)
Calculate the similarity score of the two vectors.
|
double |
getBestScore()
Return the best score that can be returned by calls to calcSimilarity.
|
int |
getTotalPeakCount()
Returns the total number peaks in plX and plY from the last call to calcSimilarity
|
double |
getWorstScore()
Return the worst the score that can be returned by calls to calcSimilarity.
|
double calcSimilarity(PeakList<X> plX, PeakList<Y> plY)
plX - the fist peak listplY - the second peak listint getTotalPeakCount()
double getBestScore()
double getWorstScore()
Copyright © 2016. All Rights Reserved.