登录
首页 » C++ » 4.2

4.2

于 2016-04-06 发布 文件大小:16KB
0 160
下载积分: 1 下载次数: 30

代码说明:

   基于dijkstra和广度搜索的加权有向图有必经点的点对点的最短路径算法,路径必须经过要求的必经点,且不成环。 该算法采用了一种自适应调整的方法,经过多次迭代,使解收敛。 但只是寻找了一个略优的可行解(每次迭代都基于贪婪算法寻找),不能保证最优解。而且如果图过于稀疏,因为收敛速度过快,可能导致问题无解(收敛于一个局部最优解,没有经过所有点)。 解决相对稠密的图(每个点的平均出入度4以上),表现良好。 备注:里面有一个QT的工程,可以直接打开(源码里没用QT的库)(Weighted Dijkstra and breadth first search based on a shortest path algorithm must point to point to the map, the path must pass through points, and not a ring. This algorithm adopts an adaptive method to adjust, after several iterations, the convergence of solution. But only to find a slightly better feasible solution (each iteration is based on the greedy algorithm to find), can not guarantee the optimal solution. And if the graph is too sparse, because the convergence speed is too fast, it may lead to the problem of no solution (convergence to a local optimal solution, not after all points). To solve the relatively dense graphs (each entry point average above 4), good performance.)

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

发表评论

0 个回复

  • 项目管理中,按科目交叉取报表按科目交叉取报表
    项目管理中,按科目交叉取数报表按科目交叉取数报表-Project management, cross-check the number of subjects according to statements by the subjects cross-check the number of statements
    2022-03-26 14:02:03下载
    积分:1
  • 实习 迷宫求解
    数据结构实习 迷宫求解-data structure internship Maze Solving
    2022-12-13 03:15:03下载
    积分:1
  • Kruskal
    Kruskal in Data structure
    2013-10-02 21:20:46下载
    积分:1
  • 一个有趣的算法。。。十分有趣
    一个有趣的算法。。。十分有趣-an interesting algorithm. . . Very interesting
    2022-05-25 23:26:43下载
    积分:1
  • 电影院售票系统
    51aspx源码必读.txt   dianyingyuan.sln   ............AbouForm.cs   ............AbouForm.Designer.cs   ............AbouForm.resx   ............inDebugone.jpg   ....................dianyingyuan.exe   ....................dianyingyuan.pdb   ....................dianyingyuan.vshost.exe   ....................gongfu.jpg   ....................lost10-001-3.txt   ....................lost10-001-4.txt   ....................lost10-001-5.txt   ....................lost12-001-4.txt   ....................lost8-001-3.txt   ....................lost8-001-4.txt   ....................Sava.txt   ....................ShowList.xml   ....................spiderman3.jpg
    2022-01-27 22:42:10下载
    积分:1
  • Because time is so short, relatively simple function. Interested persons can con...
    由于时间仓促,所以功能比较简单。有兴趣者可以继续扩展这个系统!-Because time is so short, relatively simple function. Interested persons can continue to expand this system!
    2022-06-03 08:37:28下载
    积分:1
  • danyuanzuiduan
    单源点最短路径问题,这是一个很标准的程序,对于学习算法的同学很有帮助。(Single source shortest path problem, which is a standard procedure, and helpful for students learning algorithm.)
    2011-06-28 13:46:07下载
    积分:1
  • 该源码实现二叉树的模拟,运行时图片已经放在压缩文件夹下。...
    该源码实现二叉树的模拟,运行时图片已经放在压缩文件夹下。-The realization of the source tree of the simulation, run-time image compression has on the folder.
    2022-08-13 08:48:47下载
    积分:1
  • 求最短路径问题,传给大家看看,希望能对大家在实用中有点帮助...
    求最短路径问题,传给大家看看,希望能对大家在实用中有点帮助-seek the shortest path problem, we look at the pass, we hope to the right a little practical help
    2022-04-13 00:16:40下载
    积分:1
  • craft
    Data Structures for Text Editing
    2013-09-23 06:12:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载