登录
首页 » C++ » 4.2

4.2

于 2016-04-06 发布 文件大小:16KB
0 164
下载积分: 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 个回复

  • c some of the classic algorithms, over a good, suitable for beginners. can also...
    c 的一些经典算法,满好的,适合初学者. 也可以当作小程序看,对初学者会很有帮助-c some of the classic algorithms, over a good, suitable for beginners. can also be read as a small program, it would be helpful for beginners
    2023-07-24 00:55:03下载
    积分:1
  • the-shortest-path-of-chart
    求有向图的最短路劲,根据所给图的边长和顶点,建立有向图,以邻接表的方式存储,并编写程序求从有向图任一点出发的最短路径(according to the graph with sides and vertex, establish a directed graph, and write a program find the shortest path from one of the point of the chart )
    2020-07-16 11:28:50下载
    积分:1
  • 约瑟夫环 约瑟夫环 约瑟夫环 约瑟夫环
    约瑟夫环 约瑟夫环 约瑟夫环 约瑟夫环-the circle of Joysef
    2022-05-06 23:47:59下载
    积分:1
  • 01 knapsack problem to achieve the most simple, can do more in its expansion, I...
    01背包问题最简单实现,可在其上做更多的扩展,不知道可否不用递归用堆栈-01 knapsack problem to achieve the most simple, can do more in its expansion, I do not know can not use recursive stack
    2022-12-24 12:20:04下载
    积分:1
  • Java与算法》中的源代码和applet.rar
    Java数据结构与算法》中的源代码和applet.rar-Java data structures and algorithms "of the source code and applet.rar
    2022-02-14 11:36:40下载
    积分:1
  • 推荐系统实例
    详细说明:matalb实现的协同过滤,里面包含很多重要算法,都已经实现
    2023-08-17 07:35:03下载
    积分:1
  • 本系统采用Visual Foxprow 5.0编写,面向对象可视化编程,使系统的开发工作适应目前的流行趋势。设计时采用了常用的自顶向下的瀑布式化设计方法。各...
    本系统采用Visual Foxprow 5.0编写,面向对象可视化编程,使系统的开发工作适应目前的流行趋势。设计时采用了常用的自顶向下的瀑布式结构化设计方法。各子系统具有独立的数据库结构,设计时力求简单易用,便于维护。各模块为平行关系,彼此间无直接的参数联系,也无库的交叉关联,从而保证各子系统可以单独运行。-the system using Visual Foxprow 5.0 preparation, visual, object-oriented programming, allowing the system to adapt to the current development trend in fashion. Used in the design of the popular top-down waterfall structure design method. The subsystem is independent of the database structure, design sought to be simple to use, easy to maintain. Each module for parallel relationship between the parameters are not directly linked, nor for the cross-linked, so that the subsystems can be run separately.
    2022-03-22 01:04:48下载
    积分:1
  • 的查询方式及其应用,是其中的比较重要的一种
    数据结构的查询方式及其应用,是其中的比较重要的一种-Query data structure and its applications, is one of the more important a
    2023-01-02 19:00:03下载
    积分:1
  • tree
    使用非递归的方法遍历二叉树,可以直接运行。( Non-recursive binary tree traversal.)
    2013-12-04 16:08:43下载
    积分:1
  • C
    说明:  c语言编写规范,主要介绍编程中如何写出实用性以及易于阅读的代码,方便代码的维护和升级。(c language specification describes how to write programming code for practicality and easy to read, easy to code maintenance and upgrades.)
    2013-10-16 11:16:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载