Implementation of the A Star Heuristic Search Algorithm in Determining the Shortest Path

L. Marlina, Aswandi, Article Info
{"title":"Implementation of the A Star Heuristic Search Algorithm in Determining the Shortest Path","authors":"L. Marlina, Aswandi, Article Info","doi":"10.61306/ijecom.v2i1.20","DOIUrl":null,"url":null,"abstract":"Finding the shortest path in a graph can be applied to various fields of shortest distance costs in routes, computer games, robotics or navigation. This study implements the A star heuristic search algorithm in determining the shortest path using the Visual Basic programming language and MySQL database. A star heuristic algorithm is implemented to find the shortest path between two vertices in a two-way weighted graph. We use a heuristic method to estimate the remaining cost from the start node to the destination point. This condition gives the A star algorithm the opportunity to choose the next closest node and optimize the search for the shortest route. Various experiments have been carried out with various graph conditions and with different complicated graphs to test the A star algorithm. The experimental results show that this algorithm succeeds in finding the shortest path efficiently in various situations. Our findings confirm that the A star algorithm has great potential in solving the shortest path search problem with an advantage in combining various information and remaining cost estimates, thereby minimizing the number of explored nodes and producing the shortest path efficiently.","PeriodicalId":125607,"journal":{"name":"International Journal Of Computer Sciences and Mathematics Engineering","volume":"79 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal Of Computer Sciences and Mathematics Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.61306/ijecom.v2i1.20","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Finding the shortest path in a graph can be applied to various fields of shortest distance costs in routes, computer games, robotics or navigation. This study implements the A star heuristic search algorithm in determining the shortest path using the Visual Basic programming language and MySQL database. A star heuristic algorithm is implemented to find the shortest path between two vertices in a two-way weighted graph. We use a heuristic method to estimate the remaining cost from the start node to the destination point. This condition gives the A star algorithm the opportunity to choose the next closest node and optimize the search for the shortest route. Various experiments have been carried out with various graph conditions and with different complicated graphs to test the A star algorithm. The experimental results show that this algorithm succeeds in finding the shortest path efficiently in various situations. Our findings confirm that the A star algorithm has great potential in solving the shortest path search problem with an advantage in combining various information and remaining cost estimates, thereby minimizing the number of explored nodes and producing the shortest path efficiently.
A星启发式搜索算法在最短路径确定中的实现
在图中寻找最短路径可以应用于路线、电脑游戏、机器人或导航等最短距离成本的各个领域。本研究使用Visual Basic编程语言和MySQL数据库实现了A星启发式搜索算法来确定最短路径。采用星型启发式算法求解双向加权图中两个顶点之间的最短路径。我们使用启发式方法来估计从起始节点到目的点的剩余成本。这种情况使A星算法有机会选择下一个最近的节点并优化搜索最短路径。在不同的图条件下和不同的复杂图上进行了各种实验来测试A星算法。实验结果表明,该算法在各种情况下都能有效地找到最短路径。我们的研究结果证实了A星算法在解决最短路径搜索问题上具有很大的潜力,其优势在于结合各种信息和剩余成本估计,从而最大限度地减少探索节点的数量并有效地产生最短路径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信