Mercurial > hg > match-vamp
comparison src/Matcher.h @ 191:f415747b151b re-minimise
Normalised path costs should use a different type from un-normalised ones (because they are in a different range)
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2015 15:52:16 +0000 |
parents | 487261a22b18 |
children | b5deca82e074 |
comparison
equal
deleted
inserted
replaced
190:48f9c50587dc | 191:f415747b151b |
---|---|
236 * @param i the frame number of this Matcher | 236 * @param i the frame number of this Matcher |
237 * @param j the frame number of the other Matcher | 237 * @param j the frame number of the other Matcher |
238 * @return the cost of the minimum cost path to this location, | 238 * @return the cost of the minimum cost path to this location, |
239 * normalised by the Manhattan distance from 0,0 to i,j | 239 * normalised by the Manhattan distance from 0,0 to i,j |
240 */ | 240 */ |
241 pathcost_t getNormalisedPathCost(int i, int j); | 241 normpathcost_t getNormalisedPathCost(int i, int j); |
242 | 242 |
243 /** Retrieves an advance direction from the matrix. | 243 /** Retrieves an advance direction from the matrix. |
244 * | 244 * |
245 * @param i the frame number of this Matcher | 245 * @param i the frame number of this Matcher |
246 * @param j the frame number of the other Matcher | 246 * @param j the frame number of the other Matcher |