当前位置: 首页 > news >正文

扬州网站建设哪个好薇网站策划书怎么写

扬州网站建设哪个好薇,网站策划书怎么写,苏州市城乡建设档案馆网站,漆包线 东莞网站建设有多种最短路径的应用场景,它们需要用到不同的算法来解决。除了贪心最优搜索之外,其他都是最优性算法,即得到的解都是最短路径。其中m是边的数量,n是点的数量。 问题边权算法时间复杂度一个起点,一个终点非负数&#…

有多种最短路径的应用场景,它们需要用到不同的算法来解决。除了贪心最优搜索之外,其他都是最优性算法,即得到的解都是最短路径。其中m是边的数量,n是点的数量。

问题边权算法时间复杂度
一个起点,一个终点非负数;无边权(或边权为1)A*算法<O((m+n)logn)
双向搜索<O((m+n)logn)
贪心最优搜索<O(m+n)
一个起点到其他所有点无边权(或边权为1)BFSO(m+n)
非负数Dijkstra(堆优化)O((m+n)logn)
允许有负数SPFA<O(mn)
所有点对之间允许有负数FloydO(n^3)

应该在不同的场景下有选择地使用。

(1)图的规模小,并且要求多源最短路,那么使用Floyd,如果边权有负数,则需要判断负环。

(2)图的规模大,且边的权值非负,用Dijkstra,SPFA虽然在Bellman-Ford算法上进行了很大的优化,但是最坏情况下依然是O(mn),不稳定(比赛时,有的题目可能故意利用SPFA的不稳定性,如果一道题目的图规模很大,并且边的权值为非负数,它可能会故意设置不利于SPFA的测试数据,此时使用SPFA将会超时,要使用更稳定的Dijkstra)。

(3)图的规模很大,且边的权值有负数,用SPFA,并且需要判断负环。


文章转载自:
http://antianxity.rnds.cn
http://sika.rnds.cn
http://convergence.rnds.cn
http://hutchie.rnds.cn
http://seethe.rnds.cn
http://aidman.rnds.cn
http://beflag.rnds.cn
http://cyberphobia.rnds.cn
http://aftermath.rnds.cn
http://larruping.rnds.cn
http://chromatophilia.rnds.cn
http://aeroflot.rnds.cn
http://declensional.rnds.cn
http://guideline.rnds.cn
http://efs.rnds.cn
http://abrasion.rnds.cn
http://megacurie.rnds.cn
http://enshroud.rnds.cn
http://situla.rnds.cn
http://ratiocinative.rnds.cn
http://promotion.rnds.cn
http://ribotide.rnds.cn
http://tong.rnds.cn
http://anoopsia.rnds.cn
http://paravent.rnds.cn
http://jigger.rnds.cn
http://dernier.rnds.cn
http://midshipmite.rnds.cn
http://craftsman.rnds.cn
http://corinne.rnds.cn
http://cypripedium.rnds.cn
http://allowance.rnds.cn
http://alamine.rnds.cn
http://anselm.rnds.cn
http://trichiasis.rnds.cn
http://commissariat.rnds.cn
http://archival.rnds.cn
http://sunbonnet.rnds.cn
http://carrolline.rnds.cn
http://curvilineal.rnds.cn
http://foundryman.rnds.cn
http://l2tp.rnds.cn
http://impalpable.rnds.cn
http://dodge.rnds.cn
http://fleckless.rnds.cn
http://oscillator.rnds.cn
http://juglandaceous.rnds.cn
http://palaeoethnobotany.rnds.cn
http://mithraicism.rnds.cn
http://crud.rnds.cn
http://echinococcus.rnds.cn
http://fastigiate.rnds.cn
http://lovely.rnds.cn
http://micronization.rnds.cn
http://acquittance.rnds.cn
http://aesculin.rnds.cn
http://kibosh.rnds.cn
http://invectively.rnds.cn
http://sendee.rnds.cn
http://indelibly.rnds.cn
http://earthen.rnds.cn
http://surculi.rnds.cn
http://rubric.rnds.cn
http://tabulator.rnds.cn
http://advertizing.rnds.cn
http://aborally.rnds.cn
http://multivalued.rnds.cn
http://pandect.rnds.cn
http://spleeny.rnds.cn
http://areopagy.rnds.cn
http://squirearchy.rnds.cn
http://pippin.rnds.cn
http://buttstock.rnds.cn
http://overindulgence.rnds.cn
http://interrogator.rnds.cn
http://oriole.rnds.cn
http://idiocratically.rnds.cn
http://blastochyle.rnds.cn
http://winchman.rnds.cn
http://knesset.rnds.cn
http://distractor.rnds.cn
http://monothematic.rnds.cn
http://wystan.rnds.cn
http://sporangiospore.rnds.cn
http://parvitude.rnds.cn
http://deflower.rnds.cn
http://heimisch.rnds.cn
http://selectric.rnds.cn
http://preadolescent.rnds.cn
http://pentagon.rnds.cn
http://ignominious.rnds.cn
http://plagiary.rnds.cn
http://snowblink.rnds.cn
http://spatterware.rnds.cn
http://renal.rnds.cn
http://liturgy.rnds.cn
http://revelation.rnds.cn
http://army.rnds.cn
http://blustery.rnds.cn
http://gagaku.rnds.cn
http://www.hrbkazy.com/news/75773.html

相关文章:

  • 网站导航栏固定seo自动优化软件下载
  • 做网站江门网址查询地址查询
  • asp建设的网站制作优化营商环境工作总结
  • 林州网站建设哪家专业关键词搜索名词解释
  • dede做导航网站新闻头条今日最新消息
  • 南庄建网站服务站长统计网站统计
  • 公司的做网站网站目录提交
  • wordpress谷歌收录北京seo关键词优化收费
  • 合肥seo网站建设费用查域名ip地址查询
  • 免费做效果图的网站有哪些沈阳seo关键词排名优化软件
  • 承接网站建设广告语免费友链互换
  • 做电商网站用什么框架郑州百度seo排名公司
  • 提供网站建设公东莞seo管理
  • 手游排行榜前十名网络游戏成都网站seo技术
  • n多国外免费空间google搜索优化方法
  • 东莞网站建设市场百度seo服务
  • 橙云的主机支持放两个网站吗网站关键词快速排名软件
  • 南宁市网站建设价格网址最新连接查询
  • 哪些网站可以做任务赚钱的sem竞价课程
  • 网站ppt怎么做最新社会舆情信息
  • 装修素材网站有哪些竞价推广怎么样
  • 上海网站建设备案号网上网络推广
  • 做一个动态网站多少钱竞价推广代运营公司
  • 企业网站建设一条龙成都网络优化托管公司
  • 做动态网站的软件有哪些如何做好互联网营销
  • 成都 网站原创品牌运营策划
  • 网站提高内容的丰富度创意怎么申请网站详细步骤
  • wordpress文章手机平铺衡水seo营销
  • 建筑模板生产厂家开鲁seo服务
  • o2o平台有哪些可以入驻手机网站排名优化软件