文件名称:4.2
-
所属分类:
- 标签属性:
- 上传时间:2016-04-06
-
文件大小:16.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
基于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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.29/3.29/321.pro
3.29/3.29/graph.h
3.29/3.29/graph.cpp
3.29/3.29/321.pro.user.6b31396
3.29/3.29/CMakeLists.txt
3.29/3.29/future_net.cpp
3.29/3.29/321.pro.user
3.29/3.29/indexminpq.cpp
3.29/3.29/indexminpq.h
3.29/3.29/io.cpp
3.29/3.29/lib/lib_io.h
3.29/3.29/lib/lib_record.h
3.29/3.29/lib/lib_time.h
3.29/3.29/main.cpp
3.29/3.29/route.cpp
3.29/3.29/route.h
3.29/3.29/321.pro.user.1ec661f
3.29/3.29/lib
3.29/3.29
3.29
3.29/3.29/graph.h
3.29/3.29/graph.cpp
3.29/3.29/321.pro.user.6b31396
3.29/3.29/CMakeLists.txt
3.29/3.29/future_net.cpp
3.29/3.29/321.pro.user
3.29/3.29/indexminpq.cpp
3.29/3.29/indexminpq.h
3.29/3.29/io.cpp
3.29/3.29/lib/lib_io.h
3.29/3.29/lib/lib_record.h
3.29/3.29/lib/lib_time.h
3.29/3.29/main.cpp
3.29/3.29/route.cpp
3.29/3.29/route.h
3.29/3.29/321.pro.user.1ec661f
3.29/3.29/lib
3.29/3.29
3.29
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.