MCPcopy Create free account
hub / github.com/BirolLab/abyss / markSeen

Function markSeen

MergePaths/PathConsensus.cpp:261–268  ·  view source on GitHub ↗

Mark every contig in path as seen. */

Source from the content-addressed store, hash-verified

259
260/** Mark every contig in path as seen. */
261static 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. */
271static void markSeen(vector<bool>& seen, const vector<Path>& paths,

Callers 2

fillGapFunction · 0.85
mainFunction · 0.85

Calls 5

ambiguousMethod · 0.80
idMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected