Mercurial > hg > match-vamp
diff src/Finder.h @ 163:cf1282d1f940 refactors
Add overall cost output to plugin. Looks suspiciously unaffected by tuning frequency.
author | Chris Cannam |
---|---|
date | Thu, 29 Jan 2015 17:38:09 +0000 |
parents | c665173b3a33 |
children | eeed3498fe96 |
line wrap: on
line diff
--- a/src/Finder.h Thu Jan 29 17:22:02 2015 +0000 +++ b/src/Finder.h Thu Jan 29 17:38:09 2015 +0000 @@ -65,6 +65,12 @@ */ int retrievePath(bool smooth, std::vector<int> &pathx, std::vector<int> &pathy); + /** + * Get the path cost for the overall path to the end of both + * sources. + */ + double getOverallCost(); + protected: #ifdef PERFORM_ERROR_CHECKS struct ErrorPosition {