登录
首页 » 数据结构 » Prim algorithm using minimum spanning tree of the experimental procedures used i...

Prim algorithm using minimum spanning tree of the experimental procedures used i...

于 2022-03-16 发布 文件大小:92.73 kB
0 59
下载积分: 2 下载次数: 1

代码说明:

用prim算法实验最小生成树 本程序中用到函数adjg( ),此函数作用是通过接受输入的点数和边数,建立无向图。函数prg( )用于计算并输出无向图的邻接矩阵。函数prim( )则用PRIM算法来寻找无向图的最小生成树 定义了两个数组lowcost[max],closest[max],若顶点k加入U中,则令lowcost[k]=0。 定义二维数组g[ ][ ]来建立无向图的邻接矩阵。 -Prim algorithm using minimum spanning tree of the experimental procedures used in function adjg (), this function is through the acceptance of input points and edges, the establishment of a directed graph. Function of prg () used to calculate and output undirected graph of adjacency matrix. Function prim () is used PRIM Algorithm to find the undirected graph of the minimum spanning tree array defines two lowcost [max], closest [max], if it joined the U of k vertices, then the lowcost [k] = 0. The definition of two-dimensional array g [] [] to create a undirected graph of adjacency matrix.

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

发表评论

0 个回复

  • 各种整合,使用与各种库的整合,,各种整合
    各种数据整合,使用与各种数据库的整合,,各种数据整合-A variety of data integration, use and integration of various databases, a variety of data integration
    2022-03-10 02:06:46下载
    积分:1
  • 清华版实验要求的的哈希算法原程序
    清华版数据结构实验要求的的哈希算法原程序-version Qinghua Experimental data structure requirements of the original Hash Algorithm procedures
    2022-01-23 10:20:37下载
    积分:1
  • E-store CMU SSD7 EXE4答案. 实现要求全部功能 绝对满分-E-store CMU SSD7 EXE4 answer. All the functional requirements to achieve absolute perfect score
    2022-07-09 08:24:37下载
    积分:1
  • DELPHI+ACCESS 客户关系管理
    DELPHI+ACCESS 客户关系管理-DELPHI+ ACCESS Customer Relationship Management
    2023-02-22 03:50:03下载
    积分:1
  • 学习一个熟练使用库的基本步骤
    了解设计数据库的基本步骤 熟练使用T-SQL实现建库、建表、加约束 掌握T-SQL编程,实现功能强大的查询 掌握创建索引、视图,快速访问数据库 掌握创建存储过程,实现复杂的业务规则 理解触发器的原理,实现高级的约束,以上摘自幻灯片,这个教程就是关于这一类的-Learn the basic steps of the design of a database of skilled use of T-SQL to achieve the Treasury building, built form, plus bound master T-SQL programming, to achieve a powerful grasp of the query to create the index, view, fast access to the database have to create stored procedures, complex business understanding of the principles of the rules of flip-flop to achieve high-level constraints
    2022-02-06 09:19:48下载
    积分:1
  • Floyd 算法,创建有向图,无向图,有向网,无向网的算法
    Floyd 算法,创建有向图,无向图,有向网,无向网的算法-Floyd algorithm, create a directed graph, undirected graph, directed networks, undirected networks algorithm
    2022-02-26 22:16:43下载
    积分:1
  • C#与.net4.0库开发书源程序
    C#与.net4.0数据库开发书源程序第一章
    2022-08-24 01:37:22下载
    积分:1
  • 采用stack算法的DFS搜索,有java做的界面,还有适当的注释
    采用stack算法的DFS搜索,有java做的界面,还有适当的注释-using stack DFS search algorithm, so java interface, the appropriate Notes
    2022-02-26 19:43:27下载
    积分:1
  • 并行端口 8051 上接收到的与 pc 机的串行通信
    这是一个程序集级程序,以接收来自另一个 microcrontroller 的并行端口数据。它储存在暂存器。这些数据是时间标记和中继到 PC 串行端口上。该代码使用中断使并行处理成为可能。已测试和用于应用程序的代码。此代码将讨论两个主要 issues:(a) 时间 tagging(b) 平行于串行转换。
    2022-01-27 09:08:58下载
    积分:1
  • 关于多项式相加的源码
    数据结构关于多项式相加的源码-the soundcode of data-structure on the additon of the polynomals.
    2022-12-21 12:45:04下载
    积分:1
  • 696524资源总数
  • 103978会员总数
  • 64今日下载