best-of-many:最佳克里斯托菲德斯算法求解旅行商问题的实现-源码

上传者: 42151036 | 上传时间: 2021-09-03 15:22:21 | 文件大小: 490KB | 文件类型: ZIP
C++
最佳克里斯托菲德斯算法求解旅行商问题的实现 描述 该项目包含所述算法的实现,这些算法可编译成一个称为Best-of-Many的可执行文件。 可用的步骤包括Christofides的“列生成”,“最大熵采样”,“分离和树填充”,“列生成+ SwapRound”以及“分离和树填充+ SwapRound”。 可执行文件支持输入.tsp和.tsv格式的文件,但有一些例外(例如,提供自定义距离功能的文件)。 还支持.csv电子表格输出,其中“程序文件”输入指定了一组文件中过程的子集。 最后,可执行文件可以与提供的Python脚本一起使用,以生成算法性能随时间变化的曲线图。 目前只有Windows版本可用。 依赖关系和安装: 在此存储库中签出代码后,请在您的计算机上安装以下依赖项: 32bit(最少的软件包集就可以了;只有核心取决于)。 安装后,必须将\bi

文件下载

资源详情

[{"title":"( 49 个子文件 490KB ) best-of-many:最佳克里斯托菲德斯算法求解旅行商问题的实现-源码","children":[{"title":"best-of-many-master","children":[{"title":"windows","children":[{"title":"best-of-many.sln <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"best-of-many","children":[{"title":"best-of-many.vcxproj <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"best-of-many.vcxproj.filters <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"results","children":[{"title":"results_v3.xlsx <span style='color:#111;'> 449.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"heldkarp.h <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"edge_join.cpp <span style='color:#111;'> 11.12KB </span>","children":null,"spread":false},{"title":"edge_split.h <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"run.h <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"parser.cpp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"random_walk.cpp <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"edge_join.h <span style='color:#111;'> 613B </span>","children":null,"spread":false},{"title":"print.h <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"graph.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"christofides.h <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"swapround.h <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"col_gen.h <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"lrs.cpp <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":"util.cpp <span style='color:#111;'> 32.29KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 11.81KB </span>","children":null,"spread":false},{"title":"swapround.cpp <span style='color:#111;'> 16.83KB </span>","children":null,"spread":false},{"title":"christofides.cpp <span style='color:#111;'> 13.89KB </span>","children":null,"spread":false},{"title":"definitions.h <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"matrix.h <span style='color:#111;'> 818B </span>","children":null,"spread":false},{"title":"lrs.h <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"statistics.h <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"util.h <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"random_walk.h <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"gamma.h <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"run.cpp <span style='color:#111;'> 15.08KB </span>","children":null,"spread":false},{"title":"statistics.cpp <span style='color:#111;'> 9.55KB </span>","children":null,"spread":false},{"title":"matrix.cpp <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"heldkarp.cpp <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"edge_split.cpp <span style='color:#111;'> 20.83KB </span>","children":null,"spread":false},{"title":"graph.cpp <span style='color:#111;'> 29.69KB </span>","children":null,"spread":false},{"title":"gamma.cpp <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"col_gen.cpp <span style='color:#111;'> 8.14KB </span>","children":null,"spread":false},{"title":"print.cpp <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"scripts","children":[{"title":"view_cg_plot.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"view_histogram.py <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"vew_imp_plot.py <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"grid_to_matrix.py <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"programs","children":[{"title":"exampleProgram.txt <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"paper.txt <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"installation","children":[{"title":"installer.py <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"blossom-V.vcxproj <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"license.md <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明