Mercurial > hg > match-vamp
diff src/MatchPipeline.h @ 173:eeed3498fe96 refactors
Merge from branch structure
author | Chris Cannam |
---|---|
date | Fri, 06 Feb 2015 18:41:35 +0000 |
parents | d23dad16d6f9 2b61e0cb6847 |
children | 24ddab06aace |
line wrap: on
line diff
--- a/src/MatchPipeline.h Thu Feb 05 11:53:23 2015 +0000 +++ b/src/MatchPipeline.h Fri Feb 06 18:41:35 2015 +0000 @@ -96,9 +96,29 @@ */ void finish(); - MatchFeatureFeeder *getFeeder(); - Finder *getFinder(); - + /** + * Retrieve the final path. Only valid once all the features have + * been supplied and finish() has been called. + * + * See Finder::retrievePath for more details. + */ + int retrievePath(bool smooth, std::vector<int> &pathx, std::vector<int> &pathy); + + /** + * Retrieve the forward path resulting from the online search. + * + * See MatchFeatureFeeder::retrieveForwardPath for more details. + */ + void retrieveForwardPath(std::vector<int> &pathx, std::vector<int> &pathy); + + /** + * Get the path cost for the overall path to the end of both + * sources. + * + * See Finder::getOverallCost for more details. + */ + double getOverallCost(); + private: FeatureExtractor m_fe1; FeatureExtractor m_fe2;