Comparison of Dijkstra dan Floyd-Warshall Algorithm to Determine the Best Route of Train

Tri Setya Dermawan
{"title":"Comparison of Dijkstra dan Floyd-Warshall Algorithm to Determine the Best Route of Train","authors":"Tri Setya Dermawan","doi":"10.14421/IJID.2018.07202","DOIUrl":null,"url":null,"abstract":"Abstract - The best route is the path found based on the minimum price of a train journey using the Dijkstra and Floyd-Warshall algorithms. This study aims to find out the comparison of Dijkstra and Floyd-Warshall algorithms in finding the best path on a train trip. The results of route discovery will be displayed in a web-based application using the PHP programming language and MySQL database. The results of these two algorithms are compared using 4 parameters: time complexity, memory complexity, level of completion and level of optimization.Based on the comparison results from the implementation that Dijkstra's algorithm has a time complexity of 81 faster than the Floyd-Warshall algorithm. For the memory complexity, Dijkstra's algorithm uses a memory of 512616 bytes less than the Floyd-Warshall algorithm for the executive category. Whereas for the economic category the Dijkstra algorithm uses a memory of 482488 bytes less than the Floyd-Warshall algorithm. For the level of completion of the two algorithms, there is no error. In addition, for the level of optimization the Dijkstra algorithm has advantages in this study, namely the data used is dynamic or variable data in each stage of the process.","PeriodicalId":33558,"journal":{"name":"IJID International Journal on Informatics for Development","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2019-01-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IJID International Journal on Informatics for Development","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14421/IJID.2018.07202","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Abstract - The best route is the path found based on the minimum price of a train journey using the Dijkstra and Floyd-Warshall algorithms. This study aims to find out the comparison of Dijkstra and Floyd-Warshall algorithms in finding the best path on a train trip. The results of route discovery will be displayed in a web-based application using the PHP programming language and MySQL database. The results of these two algorithms are compared using 4 parameters: time complexity, memory complexity, level of completion and level of optimization.Based on the comparison results from the implementation that Dijkstra's algorithm has a time complexity of 81 faster than the Floyd-Warshall algorithm. For the memory complexity, Dijkstra's algorithm uses a memory of 512616 bytes less than the Floyd-Warshall algorithm for the executive category. Whereas for the economic category the Dijkstra algorithm uses a memory of 482488 bytes less than the Floyd-Warshall algorithm. For the level of completion of the two algorithms, there is no error. In addition, for the level of optimization the Dijkstra algorithm has advantages in this study, namely the data used is dynamic or variable data in each stage of the process.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Dijkstra-dan-Floyd-Warshall算法确定最佳列车路线的比较
摘要-最佳路线是使用Dijkstra和Floyd-Warshall算法根据火车旅行的最低价格找到的路径。本研究旨在比较Dijkstra和Floyd-Warshall算法在火车旅行中寻找最佳路径的效果。路线发现的结果将使用PHP编程语言和MySQL数据库显示在基于web的应用程序中。使用4个参数对这两种算法的结果进行了比较:时间复杂度、内存复杂度、完成程度和优化程度。基于实现的比较结果,Dijkstra算法的时间复杂度比Floyd-Warshall算法快81。就内存复杂性而言,Dijkstra的算法在执行类别中使用的内存比Floyd-Warshall算法少512616字节。而对于经济类别,Dijkstra算法使用的内存比Floyd-Warshall算法少482488字节。对于这两种算法的完成程度,没有错误。此外,就优化水平而言,Dijkstra算法在本研究中具有优势,即所使用的数据是过程每个阶段的动态或可变数据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
6
审稿时长
8 weeks
期刊最新文献
Forecasting: Analyze Online and Offline Learning Mode with Machine Learning Algorithms Real-time Smartphone Usage Surveillance System Based on YOLOv5 Classifying High School Scholarship Recipients Using the K-Nearest Neighbor Algorithm Data Search Process Optimization using Brute Force and Genetic Algorithm Hybrid Method Quran Memorization Technologies and Methods: Literature Review
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1