什么是一些优质的图形库,对于C? [英] What are some quality graph libraries for C?

查看:100
本文介绍了什么是一些优质的图形库,对于C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一些C在那里我将需要一个非常大图保存为邻接矩阵。我要砍了一个快速的图形实现,但想先问问有没有什么好的图形库C(不是C ++),人们喜欢。

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.

我要导入图形在一些标准格式(可能GML,但那不是一个成败的要求),将其存储为邻接矩阵,然后做一些计算。

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.

有什么想法?

谢谢!

编辑:作为一个仅供参考,我在绘制图形完全没有兴趣

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

推荐答案

您可以看看 IGRAPH 。它也有读取和写入GML文件的支持。

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

这篇关于什么是一些优质的图形库,对于C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆