登录
首页 » C++ » 4.2

4.2

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

  • 医院管理
    这个项目对那些想要了解数据库的 java 编程的初学者很有帮助......说明:1.打开控制面板2 单击管理工具(3) 打开 DataSources(ODBC)4.单击添加按钮选择 Microsoft Access Driver(*mdb,*accdb) 单击完成5.在对话框窗口中,用数据库,和那就是 HMS_DB 的名称填充数据源名称字段。6.单击选择按钮来浏览数据库,然后单击确定
    2022-02-03 17:11:56下载
    积分:1
  • 算法集锦:包括大量常用算法,如求两的最大公约、素的求法、Prim算法、Kruskal算法、最短路径、Dijkstra 算法、排序相关算法、高精度计...
    数据结构算法集锦:包括大量常用算法,如求两数的最大公约数、素数的求法、Prim算法、Kruskal算法、最短路径、Dijkstra 算法、排序相关算法、高精度计算相关算法-algorithm data structure highlights include : large common algorithms, such as for the number two majors, for the prime numbers, Prim algorithm, Kruskal algorithm, the shortest path, the Dijkstra algorithm, scheduling algorithms, high-precision calculation algorithms, etc.
    2022-06-11 13:48:51下载
    积分:1
  • vc访问多个库。
    vc访问多个数据库。-vc visit multiple databases.
    2022-08-20 07:11:22下载
    积分:1
  • 平衡支架
    读取的字符一一 ; 忽略任何不是支架的一些种类; 所有左括号内推入堆栈 ; 为每一个右括号,请确保位于堆栈中的类型相匹配的左的括号和弹出 ; 可能会出现三种错误: 到达最后一步输入的现在还有 (左) 括号在堆栈上 ; 你找到一个右括号中输入,但在堆栈的顶部左的一个不匹配 (即,它不是同一种) ; 您尝试匹配一个右括号与左一个从堆栈,但在堆栈为空 ;
    2023-07-15 21:35:03下载
    积分:1
  • database for the purpose of the database includes learning and practicing java
    数据库方面的法宝,里面包括数据库学习和练习java -database for the purpose of the database includes learning and practicing java
    2022-12-31 10:35:04下载
    积分:1
  • 课程设计,指针,连表等等的应用.属于基础知识
    数据结构课程设计,指针,连表等等的应用.属于基础知识 -Curriculum design data structure, pointer, and even the application form and so on. Belong to the basic knowledge
    2022-03-23 18:22:46下载
    积分:1
  • VC stack with the expression evaluates to achieve! ! Data structure of a small o...
    VC实现的用堆栈实现表达式求值!! 数据结构的一个小作业!! 大家可以参考一下-VC stack with the expression evaluates to achieve! ! Data structure of a small operation! ! We can take a look
    2022-03-04 13:39:13下载
    积分:1
  • Java连接MySQL
    应用背景在Java数据库连接使用 ;  MySQL;NetBeans,注:这里的学生已经创造了在MySQL数据库MySQL root用户名关键技术MySQL connector.jar文件可从网站:wvw.mysql.comNetBeans IDE  ; ;7.5MySQL 5.51
    2022-08-15 09:25:59下载
    积分:1
  • 获得存储过程的
    获得存储过程的数据集,TSQL 使用技巧, 获取存储过程的数据集,在SQL中进行保存,为下一段SQL使用作准备,  获得存储过程的数据集,规程非代码, 纯SQL SQL操作
    2022-01-31 14:49:36下载
    积分:1
  • 该程序能实现的功能,若活动图有回路则无法计算出关键路径,即解决了判断工程的可行性问题。通过对工程活动的输入,可以建立任意的AOE网进行判断。对于输入的网,可以计...
    该程序能实现的功能,若活动图有回路则无法计算出关键路径,即解决了判断工程的可行性问题。通过对工程活动的输入,可以建立任意的AOE网进行判断。对于输入的网,可以计算出每个活动的最早开始时间,最迟开始时间和全工程可以完成的最早时间,并找出关键路径和关键活动。-the program can achieve the functional, if a circuit map activities can not be calculated critical path, that is a judgment to resolve the feasibility of the project. Right through the importation of construction activities, we can establish arbitrary judgment AOE network. The network for the importation can be calculated for each of the earliest start time, the latest starting time and the entire project will be completed in the first time, and identify key and critical path activities.
    2022-02-28 12:58:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载