问题
I get a lot of errors when compiling while using the function make_reverse_graph
of the Boost Graph Library.
回答1:
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.
来源:https://stackoverflow.com/questions/31020538/boost-graph-library-error-while-compiling-with-make-reverse-graph