用C图形数据结构的实现 [英] Graph data structure implementation in C

查看:141
本文介绍了用C图形数据结构的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经学会了图形数据结构的基本知识。现在我想实现所有结构/算法/可对图形进行操作。

I have learned the basics of graph data structures. Now I want to implement all the structure/algorithms/operations that can be performed on graphs.

请分享一些有用的链接,其中我可以开始用C做图的实现。

Please share some useful links wherein I can get started doing graph implementations in C.

推荐答案

邻接表和< A HREF =htt​​p://en.wikipedia.org/wiki/Adjacency_matrix相对=nofollow>邻接矩阵的是用于实现图的两个最经典的替代品。我不知道是否有在C每个联机的例子很多,但是的这里是一个邻接矩阵重新presentation。

adjacency list and adjacency matrix are the two most classic alternatives for implementing graphs. I'm not sure if there are many examples of each online in C, but here is one for the adjacency matrix representation.

这篇关于用C图形数据结构的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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