登录
首页 » 电子书 » 图论中最小生成树Kruskal算法 及画图程序 M

图论中最小生成树Kruskal算法 及画图程序 M

于 2022-01-30 发布 文件大小:1.32 kB
0 135
下载积分: 2 下载次数: 3

代码说明:

图论中最小生成树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])=[5,3] w(3,[4,5,6])=[5,6,4] w(4,6)=2 w(5,6)=6 [a,b]=mintreek(n,w) -Graph theory Kruskal minimum spanning tree algorithm and Paint program M-function format [Wt, Pp] = mintreek (n, W): n for the map Vertices, W for weighted graph adjacency matrix, does not constitute the edge of the two vertices of between the right to express with inf. Show the minimum spanning tree of edges and vertices, Wt right for the Minimum Spanning Tree, Pp (:, 1:2) for the minimum spanning tree edges of the two vertices, Pp (:, 3) for the minimum spanning tree of the right side, Pp ( :, 4) For the minimum spanning tree graph edge serial number, red connection for the minimum spanning tree of graph such as n = 6 w = inf* ones (6) w (1, [2,3,4]) = [ 6,1,5]

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 标题:教程和参考指南:C++编程与标准模板…
    Title: STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (2nd Edition) Author: David R. Musser / Gillmer J. Derge / Atul Saini / Gilmer J. Derge Publisher: Addison-Wesley Page: 560 Edition: 2nd edition (March 27, 2001) Format: PDF Summary: The Standard Template Library was created as the first library of genetic algorithms and data structures, with four ideas in mind: generic programming, abstractness without loss of efficiency, the Von Neumann computation model, and value semantics. This guide provides a tutorial, a description of each element of the library, and sample applications. The expanded second edition includes new code examples and demonstrations of the use of STL in real-world C++ software development it reflects changes made to STL for the final ANSI/ISO C++ language standard.-Title: STL Tutorial and Reference Guide: C Programming with the Standard Template Library (2nd Edition) Author: David R. Musser/Gillmer J. D
    2022-03-11 19:32:21下载
    积分:1
  • 很好的完成下载的机会。太阳核心技术研发Java2,…
    非常不错,机会难得,赶快下载。sun公司开发的,java2核心技术,7th Edithon卷I和卷II还有它们的源码:基础知识。高级性能,包括一系列的高级java应用技术,如数据库德连接,高级swing,多线程,软件本地化等等,本文件中则包含该书中的所用实例,配合该书使用,使对java的学习更具效率。-very good chance to finish downloading. Sun developed the core technology java2, 7th Edithon Volume I and Volume II have their source : the knowledge base. High performance, including a series of senior java applications, such as database connectivity Germany, the High swing, multithreading, software localization, etc., the document includes the book by example, with the use of the book, so the java learning more efficient.
    2022-08-09 20:05:18下载
    积分:1
  • < linux系统分析与高级编程> 6
    < linux系统分析与高级编程> 6-10章- Chapter 6-10
    2022-04-07 06:18:38下载
    积分:1
  • UC/OS
    uC/OS-II操作系统内核的改进:针对uC/OS-II在internet应用上不足,提出一种改进方法。-uC/OS-II operating system kernel improvements: for uC/OS-II in the lack of internet applications, an improved method.
    2023-06-26 23:20:03下载
    积分:1
  • 阅读器
    一个Android平台的txt文本阅读器Demo,支持选择并打开SD卡下的txt文件进行阅读,支持上一页,下一页,自动滚屏,支持书签,支持设置字体大小,颜色,背景色,支持关键字搜索,支持选定文本打电话和发短信,支持亮度调节。
    2022-03-21 18:44:21下载
    积分:1
  • 艾迪森维斯理
    Addison Wesley - Modern C++ Design,c++设计新思维,泛型编程与设计范式之应用-Addison Wesley- Modern C++ Design
    2022-05-22 15:41:53下载
    积分:1
  • 《开发自己的搜索引擎――lucene+nutch》(第2版)搜索引擎数据镜像数据1...
    《开发自己的搜索引擎――lucene+nutch》(第2版)搜索引擎数据镜像数据1-lucene+nutch,data mirror
    2022-12-08 12:10:09下载
    积分:1
  • Java版的数据结构与算法中文第二版,很不错的,适合Java开发人员阅读。...
    Java版的数据结构与算法中文第二版,很不错的书,适合Java开发人员阅读。-Java version of the data structure and algorithm for Chinese second edition, the book is very good, for Java developers to read.
    2023-04-07 17:10:09下载
    积分:1
  • 经典的C++学习籍,不能不看
    经典的C++学习书籍,不能不看-Classic C++ Learning books, can not help but look
    2023-03-02 23:05:03下载
    积分:1
  • < JSP速成>>,很好的jsp入门教程,初学者普遍的选择.
    < JSP速成>>,很好的jsp入门教程,初学者普遍的选择.-lt; Lt; JSP intensive gt; Gt; A good entry jsp Guide, beginners popular choice.
    2022-07-28 13:37:04下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载