解决全对最短路径问题的原创最优方法:Dhouib-matrix-ALL-SPP

Souhail Dhouib
{"title":"解决全对最短路径问题的原创最优方法:Dhouib-matrix-ALL-SPP","authors":"Souhail Dhouib","doi":"10.1016/j.dsm.2024.01.005","DOIUrl":null,"url":null,"abstract":"<div><p>The All-pairs shortest path problem (ALL-SPP) aims to find the shortest path joining all the vertices in a given graph. This study proposed a new optimal method, Dhouib-matrix-ALL-SPP (DM-ALL-SPP) to solve the ALL-SPP based on column-row navigation through the adjacency matrix. DM-ALL-SPP is designed to generate in a single execution the shortest path with details among all-pairs of vertices for a graph with positive and negative weighted edges. Even for graphs with a negative cycle, DM-ALL-SPP reported a negative cycle. In addition, DM-ALL-SPP continues to work for directed, undirected and mixed graphs. Furthermore, it is characterized by two phases: the first phase consists of adding by column repeated (<em>n</em>) iterations (where <em>n</em> is the number of vertices), and the second phase resides in adding by row executed in the worst case <em>(n∗log(n))</em> iterations. The first phase, focused on improving the elements of each column by adding their values to each row and modifying them with the smallest value. The second phase is emphasized by rows only for the elements modified in the first phase. Different instances from the literature were used to test the performance of the proposed DM-ALL-SPP method, which was developed using the Python programming language and the results were compared to those obtained by the Floyd-Warshall algorithm.</p></div>","PeriodicalId":100353,"journal":{"name":"Data Science and Management","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2666764924000109/pdfft?md5=d538a0a331fded270406098b5f8fd6f2&pid=1-s2.0-S2666764924000109-main.pdf","citationCount":"0","resultStr":"{\"title\":\"Original optimal method to solve the all-pairs shortest path problem: Dhouib-matrix-ALL-SPP\",\"authors\":\"Souhail Dhouib\",\"doi\":\"10.1016/j.dsm.2024.01.005\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>The All-pairs shortest path problem (ALL-SPP) aims to find the shortest path joining all the vertices in a given graph. This study proposed a new optimal method, Dhouib-matrix-ALL-SPP (DM-ALL-SPP) to solve the ALL-SPP based on column-row navigation through the adjacency matrix. DM-ALL-SPP is designed to generate in a single execution the shortest path with details among all-pairs of vertices for a graph with positive and negative weighted edges. Even for graphs with a negative cycle, DM-ALL-SPP reported a negative cycle. In addition, DM-ALL-SPP continues to work for directed, undirected and mixed graphs. Furthermore, it is characterized by two phases: the first phase consists of adding by column repeated (<em>n</em>) iterations (where <em>n</em> is the number of vertices), and the second phase resides in adding by row executed in the worst case <em>(n∗log(n))</em> iterations. The first phase, focused on improving the elements of each column by adding their values to each row and modifying them with the smallest value. The second phase is emphasized by rows only for the elements modified in the first phase. Different instances from the literature were used to test the performance of the proposed DM-ALL-SPP method, which was developed using the Python programming language and the results were compared to those obtained by the Floyd-Warshall algorithm.</p></div>\",\"PeriodicalId\":100353,\"journal\":{\"name\":\"Data Science and Management\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-02-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.sciencedirect.com/science/article/pii/S2666764924000109/pdfft?md5=d538a0a331fded270406098b5f8fd6f2&pid=1-s2.0-S2666764924000109-main.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Data Science and Management\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2666764924000109\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Data Science and Management","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666764924000109","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

全对最短路径问题(ALL-SPP)旨在找到连接给定图中所有顶点的最短路径。本研究提出了一种新的最优方法--Dhouib-matrix-ALL-SPP(DM-ALL-SPP),用于解决基于邻接矩阵列-行导航的全对最短路径问题。DM-ALL-SPP 设计用于在一次执行中生成具有正负加权边的图的所有顶点对之间的详细最短路径。即使是负循环图,DM-ALL-SPP 也能报告负循环。此外,DM-ALL-SPP 继续适用于有向图、无向图和混合图。此外,DM-ALL-SPP 还分为两个阶段:第一阶段包括重复 (n) 次迭代的列添加(其中 n 是顶点数),第二阶段是在最坏情况下重复 (n∗log(n)) 次迭代的行添加。第一阶段的重点是改进每一列的元素,将其值添加到每一行,并用最小值对其进行修改。第二阶段只对第一阶段修改过的元素进行行强调。使用 Python 编程语言开发的 DM-ALL-SPP 方法与 Floyd-Warshall 算法的结果进行了比较,并利用文献中的不同实例测试了该方法的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Original optimal method to solve the all-pairs shortest path problem: Dhouib-matrix-ALL-SPP

Original optimal method to solve the all-pairs shortest path problem: Dhouib-matrix-ALL-SPP

The All-pairs shortest path problem (ALL-SPP) aims to find the shortest path joining all the vertices in a given graph. This study proposed a new optimal method, Dhouib-matrix-ALL-SPP (DM-ALL-SPP) to solve the ALL-SPP based on column-row navigation through the adjacency matrix. DM-ALL-SPP is designed to generate in a single execution the shortest path with details among all-pairs of vertices for a graph with positive and negative weighted edges. Even for graphs with a negative cycle, DM-ALL-SPP reported a negative cycle. In addition, DM-ALL-SPP continues to work for directed, undirected and mixed graphs. Furthermore, it is characterized by two phases: the first phase consists of adding by column repeated (n) iterations (where n is the number of vertices), and the second phase resides in adding by row executed in the worst case (n∗log(n)) iterations. The first phase, focused on improving the elements of each column by adding their values to each row and modifying them with the smallest value. The second phase is emphasized by rows only for the elements modified in the first phase. Different instances from the literature were used to test the performance of the proposed DM-ALL-SPP method, which was developed using the Python programming language and the results were compared to those obtained by the Floyd-Warshall algorithm.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
7.50
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信