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

Function contiguous_out

Graph/ContigGraphAlgorithms.h:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38/** Return whether the outgoing edge of vertex u is contiguous. */
39template<typename Graph>
40bool
41contiguous_out(const Graph& g, typename graph_traits<Graph>::vertex_descriptor u)
42{
43 return out_degree(u, g) == 1 && in_degree(*adjacent_vertices(u, g).first, g) == 1;
44}
45
46/** Return whether the incoming edge of vertex u is contiguous. */
47template<typename Graph>

Callers 4

contiguous_inFunction · 0.85
assemble_ifFunction · 0.85
mainFunction · 0.85
contiguousOutMethod · 0.85

Calls 3

out_degreeFunction · 0.70
in_degreeFunction · 0.70
adjacent_verticesFunction · 0.70

Tested by

no test coverage detected