
24 Jun
2010
24 Jun
'10
5:12 p.m.
On Thu, 24 Jun 2010, Trevor Harmon wrote:
On Jun 24, 2010, at 6:50 AM, Jeremiah Willcock wrote:
Is there a create_subgraph member mentioned in the documentation?
Yes:
http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/subgraph.html
It is also used in the subgraph.cpp example.
Are you sure that it is not a free (non-member) function rather than a method?
Yes, it is used as a member function in the documentation and example code:
typedef subgraph< adjacency_list > > Graph; Graph G0(6); ..... Graph& G1 = G0.create_subgraph();
Note that G0 is of type subgraph<...>, not adjacency_list<...> like you were using. Could that be the issue? -- Jeremiah Willcock