I am using boost graph library for solving a network graph problem. I have a situation where I need to convert the filtered graph back to regular(adjacency list). I am not sure how I can copy a filtered graph into regular graph. Can anybody tell me how I can actually convert the filtered graph back to regular graph.
The reason I want to convert back is because, I need to generate one more filtered graph using already generated filtered graph and by doing this compiler is throwing me some error while compiling. So I want to convert the filtered graph into regular graph and check how it behaves.
There is a
boost::copy_graphfunction that you can pass your filtered graph and a newadjacency_listand have it do the copy.