Mercurial > hg > match-vamp
comparison Finder.h @ 30:7784b0a0dd4d
Put the retrievePath logic in Finder (was in the plugin itself)
author | Chris Cannam |
---|---|
date | Fri, 31 Oct 2014 15:42:40 +0000 |
parents | 640f92242cc1 |
children | 1ff9ae1dcb50 |
comparison
equal
deleted
inserted
replaced
29:cd0ffe6b1e68 | 30:7784b0a0dd4d |
---|---|
84 * @param r2 the top of the rectangle to be calculated | 84 * @param r2 the top of the rectangle to be calculated |
85 * @param c2 the right side of the rectangle to be calculated | 85 * @param c2 the right side of the rectangle to be calculated |
86 */ | 86 */ |
87 void recalculatePathCostMatrix(int r1, int c1, int r2, int c2); | 87 void recalculatePathCostMatrix(int r1, int c1, int r2, int c2); |
88 | 88 |
89 /** | |
90 * Track back after all of the matchers have been fed in order to | |
91 * obtain the lowest cost path available. Path x and y coordinate | |
92 * pairs are returned in corresponding elements of pathx and | |
93 * pathy. Return value is the length of the returned path: only | |
94 * this many elements from pathx and pathy are valid (any | |
95 * subsequent ones may be spurious). | |
96 */ | |
97 int retrievePath(std::vector<int> &pathx, std::vector<int> &pathy); | |
98 | |
89 }; // class Finder | 99 }; // class Finder |
90 | 100 |
91 #endif | 101 #endif |