登录
首页 » C++ » 4.2

4.2

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

  • 学生成绩管理系统
    学生成绩管理系统,实现以下功能,管理员可以增加删除学生,老师可以增删改学生的成绩,学生自己查询自己的成绩,学生可以修改自己的部分信息。
    2022-08-08 12:47:12下载
    积分:1
  • 聚类的数据在MATLAB
    clustering data at matlab
    2022-02-03 05:34:37下载
    积分:1
  • MiniSpanTree
    建立图并求解图的最小二叉树并且输出结果,基础的最小二叉树算法(MiniSpanTree algorithm)
    2019-01-03 18:46:10下载
    积分:1
  • maze
    通过学习奥赛培训课程,利用回溯加递归的编程技巧完成的迷宫问题(Training courses through learning Orsay, plus use of recursive programming skills back to complete the maze problem)
    2010-09-02 21:43:32下载
    积分:1
  • shu
    大学软件工程数据结构课程设计二叉树实验三种遍历方法(curriculum design,structure data)
    2017-11-10 13:44:35下载
    积分:1
  • 判断给定的二叉树是否相似,用C ++实现的,是作业
    判断给定的二叉树是否相似,用C ++实现的,是作业-to judge whether the binary tree similar to that used C to achieve, and is operating
    2022-09-29 14:35:03下载
    积分:1
  • 基于c#的FTP客户端服务器上传、下载文件
    使用c#编写的ftp上传、下载文件程序,基于c/s架构开发的简单上传、下载程序,内部封装了ftp操作的类,包括通过ftp协议对文件的读取、写入等,便于学习。
    2022-04-30 08:36:19下载
    积分:1
  • 数据库管理的例子
    数据库管理的例子-database management examples
    2022-01-26 16:52:03下载
    积分:1
  • 组合问题,从M个不同字符中任取N个字符的所有组合
    组合问题,从M个不同字符中任取N个字符的所有组合-Combination of issues, from the M different characters of any N-character check all combinations
    2022-02-21 08:01:01下载
    积分:1
  • VB6.0 under the DataList control the use of examples!
    VB6.0下DataList控件的使用示例!-VB6.0 under the DataList control the use of examples!
    2023-06-04 20:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载