Boost Graph Library: Error while compiling with make_reverse_graph

142 Views Asked by At

I get a lot of errors when compiling while using the function make_reverse_graph of the Boost Graph Library.

1

There are 1 best solutions below

0
On BEST ANSWER

Be sure that your graph is defined as boost::bidirectionalS. This means that there is for each vertex a list of its in-edges, which makes the reversion of the graph much more efficient.