List of C++ libraries for Graph Theory [closed]

穿精又带淫゛_ 提交于 2019-12-31 21:53:28

问题


I'm going to start a scientific project about automata and graph theory, and I'm searching for a graph library that supports features like:

  • directed/undirected graphs
  • graph isomorphism test (i.e. is graph g1 isomorphic w.r.t. g2?)
  • subgraph isomorphism test (i.e. is a graph g1 isomorphic to a subgraph of g2?)
  • graph search, visits and such
  • possibly, quite fast since I need to make some serious computations

I know about the Boost Graph Library, but it lacks subgraph testing as far as I understood from its documentation.

So, my question is: which are the best c++ graph libraries, please? They do not have to provide support for every feature I need, I know it's certainly possible that no existing library fits perfectly my needs.


回答1:


You could use iGraph: http://igraph.sourceforge.net/ which is a C library which should satisfy what you are after.

There is also http://ubietylab.net/ubigraph/, there is a related SO post here: https://stackoverflow.com/questions/2751826/which-c-graph-library-should-i-use.

I have not used ubigraph so cannot comment on that, I mainly use networkX and iGraph

UPDATE

It seems that ubigraph is dead now so only igraph is maintained currently




回答2:


You may use Cliquer library http://users.tkk.fi/pat/cliquer.html for all calculations related to finding cliques.



来源:https://stackoverflow.com/questions/10171331/list-of-c-libraries-for-graph-theory

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