登录
首页 » C » 最短路径

最短路径

于 2022-05-27 发布 文件大小:4.73 kB
0 56
下载积分: 2 下载次数: 1

代码说明:

实现计算某一点到其他个点的最短路径长度,也可以知道整个网络的最短路径长度,用户可以对城市信息的添加,也可根据需要查询城市信息、修改过时的距离和城市名称等信息,也可以在文件建立之后再次插入信息

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

发表评论

0 个回复

  • ExchangeServer2003PDF(1)
    反垃圾邮件技术研究现状及解决办法。用于邮件服务器研究(Anti-Spam)
    2009-05-31 10:21:02下载
    积分:1
  • 串口输出GPS数据 (地图值)
    STM32F4+HAL库+GPS+地图值,在串口显示(STM32F4+HAL Library+GPS+Map Value, Displayed in Serial Port)
    2020-07-23 08:58:45下载
    积分:1
  • UAV-cooperative-search
    多无人机覆盖搜索是无人机的一项主要任务,将搜索区域进行分割后,每个子区域内成为单机覆盖搜索问题,大大降低了任务难度.对无人机的平行搜索策略进行了详细的分析,针对平行搜索策略给出了搜索起始点、转弯关键点、搜索终点的判断依据,使得区域覆盖率达到100% .分析了最小转弯半径对搜索路径的影响(More search UAV coverage is a major task UAV, after the search area is divided, within each sub-region a single search covering problems and greatly reduce the difficulty of the task. UAV parallel search strategy a detailed analysis for parallel search strategy given the starting point of the search, the key turning point, the end point of the search is determined on the basis of such regional coverage to 100 . The influence of minimum turning radius of the search path)
    2016-10-09 10:31:50下载
    积分:1
  • 这是本人用C#编写的一个掷骰子的小游戏,希望能对编写骰子游戏的人有所帮助...
    这是本人用C#编写的一个掷骰子的小游戏,希望能对编写骰子游戏的人有所帮助-This is, I use C# for the preparation of a dice game, I hope you can help
    2022-03-15 16:55:11下载
    积分:1
  • jiaotongzixun
    数据结构的课程设计,做的是一个交通查询,主要用到图的算法,和大家共享,欢迎指正!(Data structure curriculum design, do a query traffic, mainly used graph algorithms, and share, please correct me!)
    2013-10-28 18:49:11下载
    积分:1
  • Lave1
    #include <iostream> #include <stdlib.h> #include <string.h> using namespace std const kl = 4, kzs = 2, m = 6, n = 4, Error = 5 char *K[kl] = {{"01"},{"bB"},{"23456789ACDEFacdef"},{"hH"}} int A[m][n] = {{1,2,2,5}, {1,3,2,4},{2,2,2,4},{2,2,2,4},{5,5,5,5},{5,5,5,5}},
    2010-01-20 23:55:27下载
    积分:1
  • WinFormCallMatlab
    Using C# WinForm Project to Call Matlab DLL
    2013-11-13 10:55:29下载
    积分:1
  • Genetic_Algorithm_for_Mapping
    采用遗传算法来实现任务图到多核处理器的映射功能。遗传算法是计算机科学人工智能领域中用于解决最优化的一种搜索启发式算法,是进化算法的一种。这种启发式通常用来生成有用的解决方案来优化和搜索问题。进化算法最初是借鉴了进化生物学中的一些现象而发展起来的,这些现象包括遗传、突变、自然选择以及杂交等。遗传算法通常实现方式为一种计算机模拟。对于一个最优化问题,一定数量的候选解(称为个体)的抽象表示(称为染色体)的种群向更好的解进化。传统上,解用二进制表示(即0和1的串),但也可以用其他表示方法。进化从完全随机个体的种群开始,之后一代一代发生。在每一代中,整个种群的适应度被评价,从当前种群中随机地选择多个个体(基于它们的适应度),通过自然选择和突变产生新的生命种群,该种群在算法的下一次迭代中成为当前种群。这个程序通过遗传算法那实现任务图到多核的映射的路径最优。(Using genetic algorithms to achieve the task graph mapping to multicore processors . Genetic algorithms are used in the field of artificial intelligence in computer science to solve an optimization heuristic search algorithm , an evolutionary algorithm . This heuristic is typically used to generate a useful solution to optimization and search problems. Evolutionary algorithm was originally borrowed from evolutionary biology and developed a number of phenomena , these phenomena include genetic mutation , natural selection and hybridization . Genetic algorithms are typically implemented as a computer simulation methods . For an optimization problem , a number of candidate solutions ( called individuals ) an abstract representation of the population ( called chromosomes ) to evolve a better solution . Traditionally, the solution of the binary representation ( i.e., a string of 0 and 1 ) , but can also be expressed by other methods . Evolved from a completely random population of individua)
    2020-12-11 12:49:18下载
    积分:1
  • C # Web应用程序基于5章的FTP应用程序
    C#网络应用编程基础第5章 FTP应用编程-C# Web application programming based on Chapter 5 FTP application programming
    2023-04-03 19:15:03下载
    积分:1
  • 压力测试不死进程完整源码
    压力测试不死进程完整源码,包含控制端,客户端,只需要导入XTP库到项目中,就可以完整编译。
    2022-01-26 06:58:04下载
    积分:1
  • 696518资源总数
  • 104326会员总数
  • 25今日下载