44
47
bool isBubble(const Graph& g, It first, It last)
46
49
typedef typename graph_traits<Graph>::adjacency_iterator Ait;
47
51
typedef typename graph_traits<Graph>::vertex_descriptor V;
48
52
assert(last - first > 1);
50
54
return false; // unambiguous edge
52
56
return false; // palindrome
53
57
std::set<V> targets(first, first + 1);
54
58
for (It it = first; it != last - 1; ++it) {