Boost Graph Library: Error while compiling with make_reverse_graph

一曲冷凌霜 提交于 2019-12-25 03:14:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!