Mark every contig in path as seen. */
| 259 | |
| 260 | /** Mark every contig in path as seen. */ |
| 261 | static void markSeen(vector<bool>& seen, const ContigPath& path, |
| 262 | bool flag) |
| 263 | { |
| 264 | for (Path::const_iterator it = path.begin(); |
| 265 | it != path.end(); ++it) |
| 266 | if (!it->ambiguous() && it->id() < seen.size()) |
| 267 | seen[it->id()] = flag; |
| 268 | } |
| 269 | |
| 270 | /** Mark every contig in paths as seen. */ |
| 271 | static void markSeen(vector<bool>& seen, const vector<Path>& paths, |