搜索资源列表
mintreek
- 图论中最小生成树Kruskal算法 及画图程序 M-函数 格式 [Wt,Pp]=mintreek(n,W):n为图顶点数,W为图的带权邻接矩阵,不构成边的两顶点之间的权用inf表示。显示最小生成树的边及顶点, Wt为最小生成树的权,Pp(:,1:2)为最小生成树边的两顶点,Pp(:,3)为最小生成树的边权,Pp(:,4)为最小生成树边的序号 附图,红色连线为最小生成树的图 例如 n=6 w=inf*ones(6) w(1,[2,3,4])=[6,1,5] w(2,[3,5
graph
- 图的操作,以邻接矩阵或邻接表作为存储结构建立一个无向图。-operate of graph
Adj
- 图的建立,用邻接矩阵实现的, 包括无向图,有向图-Establishment figure, with the adjacency matrix to achieve, including undirected graph, directed graph
shujujiegou-shangji
- 数据结构上机实验代码,可运行,包括图的遍历,二叉树,邻接矩阵,链表队列等,用于初学者,希望能够帮到你。-Code, data structure, computer experiment can be run, including graph traversal, binary tree, the adjacency matrix, and list the queue, etc., for beginners, the hope can help you.
c
- 使用c语言采用邻接矩阵实现图的创建,测试已通过,程序简洁-Use c language adjacency matrix diagram to achieve the creation of the test has passed, the procedure is simple