| 38 | /** Return whether the outgoing edge of vertex u is contiguous. */ |
| 39 | template<typename Graph> |
| 40 | bool |
| 41 | contiguous_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. */ |
| 47 | template<typename Graph> |
no test coverage detected