Mercurial > hg > match-vamp
diff src/DistanceMetric.h @ 186:af6120a32063 re-minimise
Fix tests
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2015 10:38:59 +0000 |
parents | a17b22abd551 |
children | ba0d2104abec |
line wrap: on
line diff
--- a/src/DistanceMetric.h Thu Feb 26 10:28:23 2015 +0000 +++ b/src/DistanceMetric.h Thu Feb 26 10:38:59 2015 +0000 @@ -91,6 +91,11 @@ */ distance_t calcDistance(const feature_t &f1, const feature_t &f2); + + /** + * Mostly for internal use and testing + */ + distance_t scaleValueIntoDistanceRange(double value); private: Parameters m_params;