登录
首页 » Windows开发 » K r u s k a l算法每次选择n

K r u s k a l算法每次选择n

于 2023-02-08 发布 文件大小:1.99 kB
0 204
下载积分: 2 下载次数: 1

代码说明:

K r u s k a l算法每次选择n- 1条边,所使用的贪婪准则是:从剩下的 边中选择一条不会产生环路的具有最小耗费的边加入已选择的边的集合中。注意到所选 取的边若产生环路则不可能形成一棵生成树。K r u s k a l算法分e 步,其中e 是网络中 边的数目。按耗费递增的顺序来考虑这e 条边,每次考虑一条边。当考虑某条边时,若将其 加入到已选边的集合中会出现环路,则将其抛弃,否则,将它选入。-K ruskal algorithm for each choice of n-1 edges, the greed of the criteria used are: from the left edge select does not produce a loop with the smallest cost edge has been selected to join the edge of the collection. Taking note of the selected edges have a loop if it can not form a spanning tree. K ruskal algorithm sub-e-step, in which e is the number of network edge. According to the order of incremental cost to consider this e edges, each taking a side. When considering a certain edge when, if its added to a collection of selected edge loop will appear, will be its discarded, otherwise, it selected.

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

发表评论

0 个回复

  • gained information of network card, whether check network,style,address,DNS.
    得到网卡信息 可以检测 是否有网卡,类型,地址,网关-gained information of network card, whether check network,style,address,DNS.
    2022-01-25 20:43:15下载
    积分:1
  • 用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!...
    用VC编写正轴等角割圆锥投影源程序的设计.还不尽完美!欢迎下载指导!-There a positive axes equal angle conic projection program.It is not very perfect.Welcome to download and instruct .
    2022-08-05 22:34:59下载
    积分:1
  • 24 hour alarm clock application source
    24 hour alarm clock application source
    2023-07-13 20:05:03下载
    积分:1
  • 读取EXCEL的原码
    读取EXCEL的原码-read the original code EXCEL
    2022-03-01 20:21:32下载
    积分:1
  • 不错的课程设计题目 数据库,内含源代码,不需要解压密码,直接使用...
    不错的课程设计题目 数据库,内含源代码,不需要解压密码,直接使用-good curriculum design topics database containing the source code, not extracting passwords used directly
    2022-03-21 16:44:05下载
    积分:1
  • 通用控件
    26个VC++界面编程通用控件源代码实例: 如何获得指定点的控件指针 如何将编辑框中输入的字符转换为大写(小写) 如何设置和获得单选按钮的选中状态 如何设置和获得一组单选按钮的选中状态 如何设置列表控件的显示方式 如何设置组合框中列表框的宽度 如何实现带自动完成功能的组合框 如何实现位图按钮 如何使用滑块 如何使用进度条 如何使用列表框 如何使用旋转按钮 如何使用组合框 如何通过控件ID获得控件窗口指针 如何为控件添加工具提示 如何通过控件窗口指针获得控件ID 如何为控件添加工具提示 如何限制编辑框输入文本的长度 如何在按钮上显示图标 如何在列表控件中插入列 如何在列表框中添加水平滚动条 如何在组合框中显示文件列表 ......
    2022-06-21 19:46:35下载
    积分:1
  • At Ocaml Define a function runnerup that takes an integer list and returns the...
    At Ocaml Define a function runnerup that takes an integer list and returns the secondly largest element among the elements
    2022-01-25 18:50:43下载
    积分:1
  • BIN2C,对 C 文件 bin 文件更改
    BIN2C,对 C 文件 bin 文件更改 用法: bin2c bin_file C_file 与 c + + 6.0 编著上
    2022-02-06 01:49:46下载
    积分:1
  • Exemplo Implementação 指纹
    Exemplo de implementação 做 leitor de Exemplo de implementação 做 leitor de Exemplo de implementação 做 leitor de 数字指纹的数字指纹的数字指纹
    2022-05-05 16:06:26下载
    积分:1
  • 视频播放器
    简单的视频播放器,实现基本的所有功能、可以快进快退截图
    2022-11-27 00:00:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载