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

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

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

代码说明:

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

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

发表评论

0 个回复

  • hilbert
    hilbert变换的程序,输入一个时间序列,既可以得到希尔伯特变换之后的复信号,输出结果是复信号(hilbert transformation)
    2013-05-15 11:09:02下载
    积分:1
  • C_C___Source_Line_Counter_src
    代码行数统计,一个非常有用的东西,希望各位喜欢(code a few statistics, a very useful thing, I hope you like)
    2006-10-25 12:40:48下载
    积分:1
  • 1
    说明:  SIFT特征匹配算法的PPT,很适用,是学习SIFT的好资料.(SIFT feature matching algorithm of the PPT, it is applicable, is a good learning SIFT information.)
    2011-09-22 23:18:02下载
    积分:1
  • 现代数字信号处理课程相关课后代码
    资源描述数字信号处理课本课后相关实验仿真,其中包括信号相关函数的代码,有无信号时相关函数的代数值,直射波加两个反射波后的效果以及均衡后的效果
    2022-11-20 02:55:03下载
    积分:1
  • rtcstm32
    该工程是STM32的RTC时钟例程。里面加入了串口 打印时钟。并且协议可设置更改修正时钟。(STM32 FOR RTC PRINTF BY USART AND CAN CHANGE TIME BY USART :A0 XX XX XX XX XX XX FF)
    2020-07-03 09:40:02下载
    积分:1
  • dongtai
    捷联惯导的C程序实现,四元数表示姿态,动态数据显示,MATLAB进行图像处理,包含原始数据。(SINS of the C program implementation, said the attitude quaternion, dynamic data, MATLAB for image processing, including raw data.)
    2009-12-01 14:33:30下载
    积分:1
  • redbook
    Opengl编程指南(第七版)源码, 自行配制好glut之后就可以跑了(Opengl Programming Guide (Seventh Edition) source, self-prepared after a good run glut on it)
    2015-04-02 11:21:16下载
    积分:1
  • ray_tracing
    CUDA实现光线追踪模型,场景假设都是球体,不考虑其他光源及折射(ray trace)
    2012-02-24 21:02:24下载
    积分:1
  • gdal
    一个很好的使用gdal读写影像的例子,程序中使用分块读写和多线程,支持海量数据的影像,方便大家使用(A good example of using gdal reading and writing images, program and use the block read and write multi-threaded, supporting massive image data, to facilitate the use)
    2011-09-21 22:35:45下载
    积分:1
  • DS1302P18B20P1602
    该程序实现了用单片机来控制时钟芯片DS1302进行万年历的显示。 这个代码相对来说很复杂,注释比较多。 程序运行,首先设置时间。 按S19,进行某一位的设置,会看到某一位上面会闪烁。 按S20,数值加1. 按S21,数值减1. 设置完后,时间会进行运行。 另外,1602上也会有时间显示的。(The program implements the MCU to control the clock chip DS1302 conducted calendar display. This code is relatively complex, comment more, we can carefully analyzed. The program runs, the first set the time. By S19, conducted a one set, you will see a bit above flashes. By S20, the value plus 1. By S21, the value minus 1. After setting, the time will be run. Further, the time will be displayed in 1602.)
    2013-12-13 13:48:55下载
    积分:1
  • 696518资源总数
  • 105563会员总数
  • 11今日下载