Mercurial > hg > match-vamp
comparison src/Path.h @ 188:487261a22b18 re-minimise
distance_t * diagonalWeight might not fit in distance_t; use pathcost_t for it. Also remove C-style casts.
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2015 12:19:17 +0000 |
parents | 16870e8770ae |
children | 175c8f044e7c |
comparison
equal
deleted
inserted
replaced
187:ba0d2104abec | 188:487261a22b18 |
---|---|
36 int smooth(std::vector<int> &x, std::vector<int> &y, int length); | 36 int smooth(std::vector<int> &x, std::vector<int> &y, int length); |
37 | 37 |
38 protected: | 38 protected: |
39 static const int MAX_RUN_LENGTH = 50; | 39 static const int MAX_RUN_LENGTH = 50; |
40 | 40 |
41 std::vector<int> val; | 41 std::vector<int> m_val; |
42 std::vector<int> len; | 42 std::vector<int> m_len; |
43 }; | 43 }; |
44 | 44 |
45 #endif | 45 #endif |
46 | 46 |