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

Function markNeighbours

Assembly/SplitAlgorithm.h:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 */
9template <typename Graph>
10size_t markNeighbours(Graph* g,
11 const typename Graph::value_type& u, extDirection sense)
12{
13 typedef typename graph_traits<Graph>::vertex_descriptor V;
14 typedef typename std::vector<V> Vector;
15
16 Vector adj;
17 generateSequencesFromExtension(u.first, sense,
18 u.second.getExtension(sense), adj);
19 for (typename Vector::iterator v = adj.begin(); v != adj.end(); ++v)
20 g->mark(*v, !sense);
21 return adj.size();
22}
23
24/** Mark ambiguous branches and branches from palindromes for removal.
25 * @return the number of branches marked

Callers 1

markAmbiguousFunction · 0.85

Calls 6

getExtensionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
markMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected