Creating a copy of a subset of a graph

12 Feb
2006
12 Feb
'06
6:33 p.m.
Hi All, I want to form a new graph B from an existing graph A, copying out only edges(and their all their vertices) given that an edge contains at least one of the vertices in a given list (i.e. I am going to end up with a graph with more than just the vertices in the list and their adjacency information. With some extra vertices, where an edge exists between them and vertices in the defined list.) I know I should be using filter_graph and copy_graph, but not 100% sure how. Any help/code snippets would be much appreciated, I am new to boost graph library so please make any explanations as simple as possible, Adam
6951
Age (days ago)
6951
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adam Teasdale Hartshorne