[英]open source Graph class for c++
I'm going to write a framework for implementation of algorithms on graphs. 我将要编写一个框架,用于在图形上实现算法。 Of course I have to write my own Graph class, but at first I want to see what good implementations of this kind of class are there exist.
当然,我必须编写自己的Graph类,但首先,我想看看存在这种类的良好实现。 I only know about
boost::graph
. 我只知道
boost::graph
。 What other open source C++ libraies could you suggest to look at? 您还可以建议其他哪些开源C ++库?
Stick with boost:graph
. 坚持使用
boost:graph
。 It's a mature and high quality library, so I see no reasons why you should look further than that. 这是一个成熟且高质量的库,因此,我认为您没有比这更进一步的理由。
And using it + studying its source will help you more than if you fumble about trying to make your own graph class without taking a look at proven libraries. 使用它+研究它的源代码将比在不尝试尝试制作自己的图类而无需查看经过验证的库时提供更多帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.