登录
首页 » c++ » 贪心算法实例―单源最短路径

贪心算法实例―单源最短路径

于 2022-02-10 发布 文件大小:2.09 kB
0 113
下载积分: 2 下载次数: 1

代码说明:

一、 实验目的 掌握贪心算法的基本思想,学习利用贪心算法设计和实现算法的方法。 二、实验内容 理解贪心法的设计思想,利用贪心法来设计并实现单源最短路径。 要求: 理解单源最短路径的贪心选择性质 设计并实现单源最短路径的贪心选择算法。

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

发表评论

0 个回复

  • obj
    good code.to activate your accountto activate your account
    2014-10-29 17:38:57下载
    积分:1
  • INote
    模仿小米做的便签,功能齐全,有桌面小组件(Imitation millet do notes, fully functional, there is a desktop widget)
    2013-11-28 17:23:59下载
    积分:1
  • Untitled
    matlab绘制阵列正六边形。采用坐标方法。(Draw a regular hexagon array matlab. Using coordinate methods.)
    2021-01-04 20:48:55下载
    积分:1
  • 蚁群算法
    蚁群算法是一种用来寻找优化路径的概率型算法。它由Marco Dorigo于1992年在他的博士论文中提出,其灵感来源于蚂蚁在寻找食物过程中发现路径的行为。这种算法具有分布计算、信息正反馈和启发式搜索的特征,本质上是进化算法中的一种启发式全局优化算法。
    2023-04-09 04:10:02下载
    积分:1
  • tuoluoyi_bizhang
    arduino使用陀螺仪,与各类传感器进行避障行走(use gyroscope for obstacle avoidance by Arduino)
    2018-05-14 18:35:27下载
    积分:1
  • 温度的变化
    #包括
    2022-03-25 12:27:42下载
    积分:1
  • 单片机串口通信
    基于RS-232的串口通信,实现单片机与pc机之间的通信及数据的传输!里面包括源码及vb代码。
    2022-12-04 18:40:08下载
    积分:1
  • ccccccccc
    定义一个结构体变量(包括年、月、日),计算该日在本年中为第几天?(注意考虑闰年问题),要求写一个函数days,实现上面的计算。由主函数将年月日传递给days函数,计算后将日子传递回主函数输出(Define a structure variable (including the year, month, day), calculated on that day in the middle of this year for the first few days? (Note that the leap to consider the issue), asked to write a function of days, to achieve the above calculations. By the main function will be passed to the days date function to calculate the days will pass back to the main function of the output)
    2010-01-12 20:48:39下载
    积分:1
  • Conversor-Digital-Analogo
    conversor digitalpara relojes de presision
    2014-01-25 12:43:24下载
    积分:1
  • LinkGame
    qt做的连连看小程序,可以从界面上选择、替换图片(qt do Lianliankan program, you can choose from the interface, replacing the picture)
    2013-12-22 12:05:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载