Mercurial > hg > match-vamp
diff Finder.h @ 31:1ff9ae1dcb50
Make smoothing optional (internally, not exposed as a parameter)
author | Chris Cannam |
---|---|
date | Fri, 31 Oct 2014 15:54:15 +0000 |
parents | 7784b0a0dd4d |
children |
line wrap: on
line diff
--- a/Finder.h Fri Oct 31 15:42:40 2014 +0000 +++ b/Finder.h Fri Oct 31 15:54:15 2014 +0000 @@ -93,8 +93,10 @@ * pathy. Return value is the length of the returned path: only * this many elements from pathx and pathy are valid (any * subsequent ones may be spurious). + * + * @param smooth whether to smooth the path before returning it */ - int retrievePath(std::vector<int> &pathx, std::vector<int> &pathy); + int retrievePath(bool smooth, std::vector<int> &pathx, std::vector<int> &pathy); }; // class Finder