| 309 | ComparePathLength(const Graph& g, const ContigNode& origin) |
| 310 | : m_g(g), m_origin(origin) { } |
| 311 | bool operator()(const ContigPath& a, const ContigPath& b) const { |
| 312 | unsigned lenA = calculatePathLength(m_g, m_origin, a); |
| 313 | unsigned lenB = calculatePathLength(m_g, m_origin, b); |
| 314 | return lenA < lenB |
| 315 | || (lenA == lenB && a.size() < b.size()); |
| 316 | } |
| 317 | |
| 318 | typedef ContigPath first_argument_type; |
| 319 | typedef ContigPath second_argument_type; |
nothing calls this directly
no test coverage detected