I get a lot of errors when compiling while using the function make_reverse_graph
of the Boost Graph Library.
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.