开发者

What are some quality graph libraries for C?

开发者 https://www.devze.com 2023-01-14 08:00 出处:网络
I\'m writing some C where I\'m going to need to store a very large graph as an adjacency matrix. I was going to hack up a quick graph implementation, but wanted to ask first if there开发者_运维知识库

I'm writing some C where I'm going to need to store a very large graph as an adjacency matrix. I was going to hack up a quick graph implementation, but wanted to ask first if there开发者_运维知识库 are any good graph libraries for C (not c++) that people like.

I'm going to import the graph in some standard format (probably GML, but thats not a make or break requirement), store it as an adjacency matrix, and then do some computations.

Any thoughts?

Thanks!

EDIT: as an FYI, I have no interest in drawing the graph at all


You can have a look at igraph. It also has support for reading and writing GML files.

0

精彩评论

暂无评论...
验证码 换一张
取 消