登录
首页 » C++ » 4.2

4.2

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

  • 二手管理系统
    学生每个校园有很多闲置的资源无法得到充分利用,本文基于C2C交易平台的设计和开发程序中的校园网。该系统采用数据库和ASP技术,从需求分析,数据库设计,维护,界面设计等几个方面,设计并实现了用户注册,产品管理,广告管理,购买出售等基本功能。平台可以通过商品的陈列来完成,购买信息,商品交易,留言板,公告板等的释放。学生可以注册登录购买自己的平台,他们需要出售的物品或物品。该系统的开发为交易同学之间建立了一个互动的平台,以满足学生之间的交易的需求,极大地方便了交易活动在校园里,节省了人力和物力。
    2022-03-14 15:27:11下载
    积分:1
  • a database installed "individual job search management system" using t...
    一、数据库安装 《个人求职管理系统》使用MySQL数据库,请你先在你的数据库服务器上建立一个数据库,然后将你下载的程序解压缩后上传到你的网站空间下,接下来请将sql目录下的tdjob.sql文件导入你刚建立好的MySQL数据库中,导入的SQL文件会在数据库中新建两个数据表td_pjm_user和td_pjm_jobs。 注意:成功导入数据文件后,请修改lib目录下的config.jsp文件,该文件里包含了你的数据库连接信息,请进行相应的修改。 二、JavaBeans安装 将lib目录下的td文件夹拷贝到WEB-INF/classes目录下。td目录中有两个class文件,这两个文件的原Java文件你可以在lib目录下的source目录中找到。-a database installed "individual job search management system" using the MySQL database you, in your database server on the establishment of a database, then you download the procedures decompress after uploaded to your website space, then I would be grateful if sql directory of documents into your tdjob.sql just to establish good MySQL database, SQL file into the new database td_pjm_user two data tables and td_pjm_jobs. Note : Successful data into documents, please amend the lib directory config.jsp document, the document contains your database connection information, please amended accordingly. 2, JavaBeans lib directory will be installed under the td fo
    2023-06-16 04:55:03下载
    积分:1
  • 因为时间是那么短,功能比较简单。有兴趣的人可以反对…
    由于时间仓促,所以功能比较简单。有兴趣者可以继续扩展这个系统!-Because time is so short, relatively simple function. Interested persons can continue to expand this system!
    2022-03-23 10:58:09下载
    积分:1
  • 一个成绩管理系统
    一个成绩管理系统-a performance management system
    2022-03-15 23:20:49下载
    积分:1
  • 腐蚀,膨胀,细化算法代码能够实现你想要的算法代码
    腐蚀,膨胀,细化算法代码能够实现你想要的算法代码-corrosion, swelling, thinning algorithm code you want to achieve the algorithm code
    2022-07-14 20:44:59下载
    积分:1
  • Tetris
    使用很好的数据结构,程序运行效率高,界面简洁美观。(Good data structure, high efficiency, simple and beautiful interface.)
    2013-03-27 10:51:16下载
    积分:1
  • use-stack
    数据结构(C语言)版课程设计,利用栈求表达式的值: 3. 利用栈求表达式的值(必做) 任务:建立试题库文件,随机产生n个题目;题目涉及加减乘除,带括号的整数混合运算;随时可以退出;保留历史分数,能回顾历史,给出与历史分数比较后的评价。(假设这是一个可供小学生练习算术运算的小系统) 要求:根据以上任务说明,设计程序完成功能。 (hello welcome)
    2020-12-29 22:39:02下载
    积分:1
  • VB6.0下DataGrid控件的使用示例!
    VB6.0下DataGrid控件的使用示例!-VB6.0 under the DataGrid control the use of examples!
    2022-01-25 23:41:31下载
    积分:1
  • powerbiulder
    powerbiulder
    2022-05-25 09:07:07下载
    积分:1
  • C++双向链表
    利用c++写的双向链表操作,有头插入,尾插入,中间寻找“朋友“的方式插入,适合简单数据结构分析
    2023-08-10 06:55:03下载
    积分:1
  • 696516资源总数
  • 106459会员总数
  • 0今日下载