Mercurial > hg > match-vamp
comparison src/Matcher.h @ 205:010b91e44098 memory
Rename getRowRange/getColRange to make nature of arg clearer
author | Chris Cannam |
---|---|
date | Fri, 27 Feb 2015 12:21:58 +0000 |
parents | 3662865740da |
children | 6373d14deace |
comparison
equal
deleted
inserted
replaced
204:006fd4cb95b3 | 205:010b91e44098 |
---|---|
186 * @param i the frame number of this Matcher | 186 * @param i the frame number of this Matcher |
187 * @return the first, last pair of frame numbers for the other | 187 * @return the first, last pair of frame numbers for the other |
188 * Matcher. Note that the last frame is exclusive (last valid | 188 * Matcher. Note that the last frame is exclusive (last valid |
189 * frame + 1). | 189 * frame + 1). |
190 */ | 190 */ |
191 std::pair<int, int> getColRange(int i); | 191 std::pair<int, int> getColRangeForRow(int i); |
192 | 192 |
193 /** Returns the valid range of rows for the given column, that is, | 193 /** Returns the valid range of rows for the given column, that is, |
194 * the range of frames in this Matcher for the given frame in the | 194 * the range of frames in this Matcher for the given frame in the |
195 * other Matcher's minimum cost matrix. | 195 * other Matcher's minimum cost matrix. |
196 * | 196 * |
197 * @param i the frame number of the other Matcher | 197 * @param i the frame number of the other Matcher |
198 * @return the first, last pair of frame numbers for this | 198 * @return the first, last pair of frame numbers for this |
199 * Matcher. Note that the last frame is exclusive (last valid | 199 * Matcher. Note that the last frame is exclusive (last valid |
200 * frame + 1). | 200 * frame + 1). |
201 */ | 201 */ |
202 std::pair<int, int> getRowRange(int i); | 202 std::pair<int, int> getRowRangeForCol(int i); |
203 | 203 |
204 /** Retrieves a value from the distance matrix. | 204 /** Retrieves a value from the distance matrix. |
205 * | 205 * |
206 * @param i the frame number of this Matcher | 206 * @param i the frame number of this Matcher |
207 * @param j the frame number of the other Matcher | 207 * @param j the frame number of the other Matcher |