Ticket #9229: mcgregor_common_subgraphs.diff
File mcgregor_common_subgraphs.diff, 1.2 KB (added by , 9 years ago) |
---|
-
boost/graph/mcgregor_common_subgraphs.hpp
327 327 put(correspondence_map_2_to_1, new_vertex2, new_vertex1); 328 328 vertex_stack1.push(new_vertex1); 329 329 330 // Only output sub-graphs larger than a single vertex 331 if (new_graph_size > 1) { 332 333 // Returning false from the callback will cancel iteration 334 if (!subgraph_callback(correspondence_map_1_to_2, 335 correspondence_map_2_to_1, 336 new_graph_size)) { 337 return (false); 338 } 330 // Returning false from the callback will cancel iteration 331 if (!subgraph_callback(correspondence_map_1_to_2, 332 correspondence_map_2_to_1, 333 new_graph_size)) { 334 return (false); 339 335 } 340 336 341 337 // Depth-first search into the state space of possible sub-graphs