如何使用 Boost 库读取点文件
我目前正在使用 boost graph lib 来计算强连接组件,但他们页面上的示例似乎太旧了,无法工作,所以我现在如何使用 Boost 1.48 将文件读入 GraphvizDigraph 对象?
i am currently using boost graph lib to compute strongly connected component, but the example on their page seems to be too old to work, so how can I read a file into a GraphvizDigraph Object using Boost 1.48 now ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要完整的
GraphvizDigraph
信息吗?如果您只需要一些顶点和边属性,可以使用 read_graphviz 函数将图加载到 adjacency_list 结构中。Do you need the full
GraphvizDigraph
information? If you only need some of the vertex and edge properties, you can useread_graphviz
function to load the graph into anadjacency_list
structure.