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

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

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

  • 一个EVC实例MP3播放器 里面含EVC源码和英文文档说明
    一个EVC实例MP3播放器 里面含EVC源码和英文文档说明-AppWizard has created this MyMp3sec application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your MyMp3sec application. MyMp3sec.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CMyMp3secApp application class. MyMp3sec.cpp This is the main application source file that contains the application class CMyMp3secApp. MyMp3sec.rc This is a listing of all of the Microsoft Windows CE resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft eMbedded Visual C++. resMyMp3sec.ico This is an
    2022-03-04 20:56:58下载
    积分:1
  • 在WINDOWS中,用树形对话框显示并可以选择路径
    在WINDOWS中,用树形对话框显示并可以选择路径-Show tree path selection dialog in MS windows
    2022-02-06 22:13:26下载
    积分:1
  • A-STAR算法说明
    A-STAR算法说明
    2022-12-10 21:15:03下载
    积分:1
  • *对buildequalizer <;输入:
    ** Aufruf: BuildEqualizer ** Das Werkzeug BuildEqualizer erzeugt aus einem ASCII ** das PGF-FILE EQUALIZER.PGF ** ** Syntax: Tokentrenner ist " " ** Format : ** Dummy-Tok x0 x1 ... xn ** y0 z00 z01 ... z0n ** y0 z10 z11 ... z1n ** : : : : ** ym zm0 zm1 ... zmn -** Aufruf: BuildEqualizer ** ** Das Werkzeug BuildEqualizer erzeugt aus einem ASCII ** das PGF-FILE EQUALIZER.PGF ** ** Syntax: Tokentrenner ist " " ** Format : ** Dummy-Tok x0 x1 ... xn ** y0 z00 z01 ... z0n ** y0 z10 z11 ... z1n ** : : : : ** ym zm0 zm1 ... zmn
    2022-08-03 10:51:43下载
    积分:1
  • java ssm框架
    七天酒店订单管理系统  多多下载 给点意见 
    2023-08-10 19:50:04下载
    积分:1
  • 用来存放数据字典元数据的静态变量,便于元数据修改时所对应应用界面的更改...
    用来存放数据字典元数据的静态变量,便于元数据修改时所对应应用界面的更改-Use to change the deal to the that deposit the data dictionary a data, easy to a data modification hour to should apply the interface change
    2022-03-06 23:23:15下载
    积分:1
  • meteoinfo Demo
    MeteoInfo是一个免费、开源的气象数据显示、分析软件,具有较强的综合数据图形显示、分析能力,操作简便、图形美观。软件支持多种常用气象数据格式,具备一些基本的GIS功能。MeteoInfo还可以通过编脚本程序自动运行,具备强大的数据分析功能。MeteoInfo的核心功能封装在类库中,使用该类库可以方便快捷地开发气象数据显示分析类软件。目前MeteoInfo分别由两种语言开发:Java和C#,二者的功能和用法类似,Java版具备很强的跨平台能力,是今后发展的重点。
    2022-01-25 14:15:36下载
    积分:1
  • vb.net利用中间空间实现的SMS收程序
    vb.net利用中间空间实现的SMS收发程序-vb.net to use the middle of space to achieve SMS sending and receiving programs
    2023-06-02 13:30:03下载
    积分:1
  • 利用中点算法实现画整圆,利用c语言在turboc下编程
    利用中点算法实现画整圆,利用c语言在turboc下编程-Algorithm using the midpoint of painting the entire round, using c language programming in the next TurboC
    2022-01-25 22:32:40下载
    积分:1
  • 商场入口人数统计程序 说明: 某一家商场共有4个出入口,假设每一个顾客进入商场时对入口的选择具有随机性。现在需要统计在某一时段内每个入口的顾客数,以及进...
    商场入口人数统计程序 说明: 某一家商场共有4个出入口,假设每一个顾客进入商场时对入口的选择具有随机性。现在需要统计在某一时段内每个入口的顾客数,以及进入商场的总顾客数。请利用线程同步及线程调度技术模拟一个实时计数系统。 -The number of statistical procedures mall entrance Description: A one store a total of four entrances, suppose a customer into the store for each entry when the choice is random. Now need statistics for each entry in a given period of time the number of customers, as well as the total number of customers into the store. Please use the thread synchronization and thread scheduling simulate a real-time counting system.
    2022-06-01 13:51:03下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载