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

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

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

  • 在 C# 中构造函数
    如何创建一个构造函数和新手在 C# 中为在 C# 中,删除它。如何创建一个构造函数和新手在 C# 中为在 C# 中,删除它。如何创建一个构造函数和新手在 C# 中为在 C# 中,删除它。如何创建一个构造函数和新手在 C# 中为在 C# 中,删除它。如何创建一个构造函数,然后删除它在 C# 中,为在 C# 中的新手。
    2022-04-29 14:35:24下载
    积分:1
  • MFCC的C++代码
    mfcc c++ code This program is free software you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation either version 2 * of the License, or (at your option) any later version. -mfcc c++ code This program is free software you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation either version 2 * of the License, or (at your option) any later version.
    2022-07-02 14:20:25下载
    积分:1
  • 点云数据三角化
    实现了点云数据的读取和三角化处理,对于学习逆向工程的来说十分有用,有很强的借鉴意义!!!!
    2023-05-15 12:35:03下载
    积分:1
  • Acer15
    Acer15寸液晶内部资料,值得参考,要的朋友 快来吧-Acer15-inch LCD internal information, it is also useful to let a friend Come
    2022-02-02 22:11:34下载
    积分:1
  • 使用真正的Winsock做的最简单的通信程
    使用真正的Winsock做的最简单的通信程-use the real Winsock do the most simple way of communication
    2022-02-20 21:59:07下载
    积分:1
  • 这是一个关于汉诺塔的书机
    这是一个关于汉诺塔的书机-HANOR on the book-
    2022-02-03 14:02:54下载
    积分:1
  • Mifare仿真工具(该)
    Mifare Emulation Tool (Omnikey)
    2022-03-07 09:42:54下载
    积分:1
  • 图标文件files in弓
    Files in arch: Icon Files
    2022-05-06 02:42:59下载
    积分:1
  • 火车车厢重排问题:给定一个任意的车厢排列次序。重新排列车厢,使其按照从1到n的次序排列。规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨到出轨。...
    火车车厢重排问题:给定一个任意的车厢排列次序。重新排列车厢,使其按照从1到n的次序排列。规定重排时只能从入轨到缓冲铁轨,或者从缓冲铁轨到出轨。-Train cars rearrangement problem: given an arbitrary compartment order of merit. Rearrange the cars, so that from 1 to n according to the order. Rearrangement can only be provided to the buffer from the orbit track, or tracks from the buffer to the derailment.
    2022-11-21 14:25:03下载
    积分:1
  • camera Utility Control Case
    摄像头实用程序控件实例-camera Utility Control Case
    2022-09-28 20:00:03下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载