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

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

于 2023-02-08 发布 文件大小:1.99 kB
0 213
下载积分: 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 个回复

  • 在计算机内存中绘图,实现了全图的漫游功能.
    在计算机内存中绘图,实现了全图的漫游功能.-draw picture in computer memory ,realize the function of cruise.
    2022-05-05 04:25:01下载
    积分:1
  • messagebox
    调用Windows的API函数弹窗#includeint main(){ char a[] = "MessageBox"; MessageBox(0,a,"a", MB_OK); return 0;}
    2023-08-28 02:50:07下载
    积分:1
  • 接触该样本
    Contactless Omnikey Sample
    2023-04-09 00:50:03下载
    积分:1
  • 计算方法和数值计算wymspline样条插值…
    计算方法,或者是数值计算的 wymspline样条插值 自己做的,可能不是很好-calculation method, or the numerical calculation wymspline spline interpolation themselves, may not be very good
    2022-11-27 18:05:03下载
    积分:1
  • Simple mfc
    基于mfc的简易股票管理系统,可以实现股票导入,绘制图形,管理账户等功能-Simple mfc-based stock management system that can achieve the stock import, drawing graphics, management accounts and other functions
    2022-03-14 06:26:48下载
    积分:1
  • 百行代码实现的WEB服务器
    百行代码实现的WEB服务器 aardio开发环境         服务器响应后各种处理步骤:       第一步,通过获取到的 请求响应request对象的url属性,分解出url中的path。         第二步,将path传去路由函数,为了获取 目标路径、目标文件类型、错误标记、错误页面 等结果。            第三步,依据路由函数返回的结果。              回复对象的contentType属性设置为路由函数返回的目标文件类型。               回复对象的传送数据:错真就传错误页面,错假就传目标文件的二进制数据 。               回复对象的其他属性按simpleHttpServer内置默认的。
    2022-05-27 22:20:36下载
    积分:1
  • ER schema description for Icarnegie Exercise5.
    ER schema description for Icarnegie Exercise5.
    2022-02-04 07:50:16下载
    积分:1
  • dos源代码,大家都知道了吧
    dos源代码,大家都知道了吧-dos source code, as we all know by now.
    2022-05-21 11:51:49下载
    积分:1
  • 启动时自动更新电脑时间
    启动时自动更新电脑时间-activated automatically updated computer time
    2023-03-04 18:10:04下载
    积分:1
  • 当你的鼠标在动时,按纽也在动,让你很难捕捉到它 。  
    当你的鼠标在动时,按纽也在动,让你很难捕捉到它 。   -When you move the mouse, the button is also fixed, so that is very difficult for you to capture it.
    2022-04-06 10:48:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载