在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 三种解决TSP问题的近似算法的实现

三种解决TSP问题的近似算法的实现

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:0.45M
  • 下载次数:2
  • 浏览次数:180
  • 发布时间:2020-08-21
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
最近邻策略(NearestNeighbor)解决TSP问题的算法实现——是基于贪心思想; 最短链路策略(ShortestLinkedHeuristic)解决TSP问题的算法实现——也是基于贪心算法,但与上述实现细节有所不同; 最短插入启发式策略(NearestInsertion)解决TSP问题的算法实现——插入启发式策略基本思想是对由|V|个城市的某m个城市所构成的回路,陆续地选择一个未在回路中的城市,然后插入到该回路,使得引起的权和的改变量最小。重复上述过程,直到所有的城市被插入。根据选择待插入城市的不同,插入启发式策略包括最近点插入、最远点插入以及随机插入法。
【实例截图】
【核心代码】
实验14
└── 实验14
├── NearestInsertion
│   ├── Debug
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── link.2752-cvtres.read.1.tlog
│   │   ├── link.2752-cvtres.write.1.tlog
│   │   ├── link.2752.read.1.tlog
│   │   ├── link.2752.write.1.tlog
│   │   ├── link.command.1.tlog
│   │   ├── link-cvtres.read.1.tlog
│   │   ├── link-cvtres.write.1.tlog
│   │   ├── link.read.1.tlog
│   │   ├── link.write.1.tlog
│   │   ├── main.obj
│   │   ├── mt.command.1.tlog
│   │   ├── mt.read.1.tlog
│   │   ├── mt.write.1.tlog
│   │   ├── NearestInsertion.Build.CppClean.log
│   │   ├── NearestInsertion.exe.embed.manifest
│   │   ├── NearestInsertion.exe.embed.manifest.res
│   │   ├── NearestInsertion.exe.intermediate.manifest
│   │   ├── NearestInsertion.lastbuildstate
│   │   ├── NearestInsertion.log
│   │   ├── NearestInsertion_manifest.rc
│   │   ├── rc.command.1.tlog
│   │   ├── rc.read.1.tlog
│   │   ├── rc.write.1.tlog
│   │   ├── vc100.idb
│   │   └── vc100.pdb
│   ├── main.cpp
│   ├── NearestInsertion.vcxproj
│   ├── NearestInsertion.vcxproj.filters
│   └── NearestInsertion.vcxproj.user
├── NearestNeighbor
│   ├── Debug
│   │   ├── cl.command.1.tlog
│   │   ├── CL.read.1.tlog
│   │   ├── CL.write.1.tlog
│   │   ├── link.2904-cvtres.read.1.tlog
│   │   ├── link.2904-cvtres.write.1.tlog
│   │   ├── link.2904.read.1.tlog
│   │   ├── link.2904.write.1.tlog
│   │   ├── link.command.1.tlog
│   │   ├── link-cvtres.read.1.tlog
│   │   ├── link-cvtres.write.1.tlog
│   │   ├── link.read.1.tlog
│   │   ├── link.write.1.tlog
│   │   ├── main.obj
│   │   ├── mt.command.1.tlog
│   │   ├── mt.read.1.tlog
│   │   ├── mt.write.1.tlog
│   │   ├── NearestNeighbor.Build.CppClean.log
│   │   ├── NearestNeighbor.exe.embed.manifest
│   │   ├── NearestNeighbor.exe.embed.manifest.res
│   │   ├── NearestNeighbor.exe.intermediate.manifest
│   │   ├── NearestNeighbor.lastbuildstate
│   │   ├── NearestNeighbor.log
│   │   ├── NearestNeighbor_manifest.rc
│   │   ├── rc.command.1.tlog
│   │   ├── rc.read.1.tlog
│   │   ├── rc.write.1.tlog
│   │   ├── vc100.idb
│   │   └── vc100.pdb
│   ├── main.cpp
│   ├── NearestNeighbor.vcxproj
│   ├── NearestNeighbor.vcxproj.filters
│   └── NearestNeighbor.vcxproj.user
├── 实验14.docx
└── 最短链路策略
├── Debug
│   ├── cl.command.1.tlog
│   ├── CL.read.1.tlog
│   ├── CL.write.1.tlog
│   ├── link.3996-cvtres.read.1.tlog
│   ├── link.3996-cvtres.write.1.tlog
│   ├── link.3996.read.1.tlog
│   ├── link.3996.write.1.tlog
│   ├── link.command.1.tlog
│   ├── link-cvtres.read.1.tlog
│   ├── link-cvtres.write.1.tlog
│   ├── link.read.1.tlog
│   ├── link.write.1.tlog
│   ├── main.obj
│   ├── mt.command.1.tlog
│   ├── mt.read.1.tlog
│   ├── mt.write.1.tlog
│   ├── rc.command.1.tlog
│   ├── rc.read.1.tlog
│   ├── rc.write.1.tlog
│   ├── vc100.idb
│   ├── vc100.pdb
│   ├── 最短链路策略.exe.embed.manifest
│   ├── 最短链路策略.exe.embed.manifest.res
│   ├── 最短链路策略.exe.intermediate.manifest
│   ├── 最短链路策略.lastbuildstate
│   ├── 最短链路策略.log
│   └── 最短链路策略_manifest.rc
├── main.cpp
├── 最短链路策略.vcxproj
├── 最短链路策略.vcxproj.filters
└── 最短链路策略.vcxproj.user

7 directories, 96 files

标签:

实例下载地址

三种解决TSP问题的近似算法的实现

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警