登录
首页 » c++,c » 最小生成树的Kruskal算法

最小生成树的Kruskal算法

于 2023-07-11 发布 文件大小:15.17 kB
0 128
下载积分: 2 下载次数: 1

代码说明:

最小生成树的Kruscal算法,使用Kruscal算法得到一个最小生成树

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

发表评论

0 个回复

  • 动态规划
    动态规划与其它算法相比,大大减少了计算量,丰富了计算结果,不仅求出了当前状态到目标状态的最优值,而且同时求出了到中间状态的最优值,这对于很多实际问题来说是很有用的。动态规划相比一般算法也存在一定缺点:空间占据过多,但对于空间需求量不大的题目来说,动态规划无疑是最佳方法!动态规划算法和贪婪算法都是构造最优解的常有方法。动态规划算法没有一个固定的解题模式,技巧性很强。
    2022-04-02 06:59:37下载
    积分:1
  • 墨鱼算法
    一种新的仿生优化算法。 ;算法模拟的墨鱼求解全局优化问题的数值改变颜色的行为机制。这个
    2022-10-01 18:20:03下载
    积分:1
  • 简而易懂的CShare 高级图像处理程序实例
    简而易懂的CShare 高级图像处理程序实例-simple and understandable CShare advanced image processing examples
    2022-03-01 03:32:16下载
    积分:1
  • 一个红心代码,简单不复杂,值得研究
    2022-04-16 14:45:45下载
    积分:1
  • 卡尔曼滤波
    IMM算法的思想是:采用多个不同的模型(机动模型、不同参数的非机动模型)对同一目标轨迹进行卡尔曼滤波,在滤波的开始和结束处,将各个模型所得到的结果按照各自概率进行加权求和与转换,其中各个模型之间的转换用马尔科夫链的转移概率矩阵描述。
    2023-07-04 12:30:03下载
    积分:1
  • 邮件检查
    Visual C++网络编程实例之邮件检查,通过类 封装等实现功能,其中POPChecker.h : main header file for the POPCHECKER application
    2022-05-16 14:06:31下载
    积分:1
  • 毕业设计智能温控(加风扇)
    采用STC89C52编程 DS18B20温度传感器 LCD1602液晶显示 AT24C08掉电记忆存储设定温度控制值 当温度超过设定值时单片机启动风扇进行降温
    2022-03-10 19:27:01下载
    积分:1
  • Description : Let numbered 1, 2, ..., n (NGT; 0) clockwise direction by individu...
    描述:设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 .算法思想: Jeseph函数是实现问题要求的主要函数,其算法思想是:从1至m对带头结点的单循环链表循环计数,到m时,输出该结点的编号值,,再从该结点的下一个结点起重新自1起循环计数;如此下去,直到单循环链表空时循环过程结束。 -Description : Let numbered 1, 2, ..., n (NGT; 0) clockwise direction by individuals sitting around a circle, each holding a positive integer code. At the beginning of a given arbitrary reported few limits on m, started from the first clockwise direction from the starting sequence reported a few, when they report back m reported few, hold out the m out from the clockwise direction in the next personal re-order starting from a newspaper; This situation continues until all people so far shown up. Asked to design a simulation of this process, and give out the number of people out sequence. . Algorithm thinking : Jeseph function is to seek to achieve the main function of the algorithm is thinking : m f
    2023-04-25 22:10:03下载
    积分:1
  • MVC3AppCodeFirst
    MVC3+EF 主要是通过mnv3的学习 掌握技术(The projects of MVC3 App CodeFirst)
    2012-04-15 13:50:03下载
    积分:1
  • 内容包括delphi5.0窗体开发的基本方法和范例,窗体开发的高级范例,delphi5.0常用控件的使用和范例,数据窗体开发高级范例和应用系统的开发范例...
    内容包括delphi5.0窗体开发的基本方法和范例,窗体开发的高级范例,delphi5.0常用控件的使用和范例,数据窗体开发高级范例和应用系统的开发范例-delphi5.0 forms including the development of basic methods and examples of the form of senior development paradigm delphi5.0 used for the use and control model, data model forms development and application of advanced system development paradigm
    2022-02-11 10:49:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载