Analysis of A* Algorithm Optimization and Breadth First Search in the Water Teapot Game

B. Indriyono, Widyatmoko
{"title":"Analysis of A* Algorithm Optimization and Breadth First Search in the Water Teapot Game","authors":"B. Indriyono, Widyatmoko","doi":"10.25139/inform.v7i2.4484","DOIUrl":null,"url":null,"abstract":"Artificial Intelligence (AI) is a branch of computer science that focuses on learning how computers can work or perform as well as humans or even better than humans. The development of artificial intelligence can be used as a benchmark for technological developments. Many problems can be solved using this artificial intelligence concept. One of them is a water jug ​​logic game. The water jugs problem is a game requiring converting a situation into another desired situation using a certain set of operations. The objective of this game is for players to develop their deductive reasoning skills by figuring out how to move x litters of water from one teapot to another. To accomplish this, they will refer to the beginning value that has to be filled in each teapot and the end value that needs to be filled in each teapot. Using the A* algorithm and the Breadth-First Search (BFS) algorithm, which both fall under the umbrella of artificial intelligence, it is possible to find a solution to this issue. The A* algorithm is a Best First Search algorithm that combines Uniform Cost Search and Greedy Best-First Search, while the Breadth-First Search algorithm is a graph search algorithm that performs a wide search at each level. This study analyzed the effectiveness of the A* and BFS algorithms in solving the water jug ​​logic problem, both from the number of steps and the time required for completion. The results of the tests were carried out, and it is known that the BFS algorithm is more effective than the A* algorithm because the BFS algorithm can provide a number of alternative solutions to the water jug ​​logic problem with various conditions.","PeriodicalId":52760,"journal":{"name":"Inform Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi","volume":"10 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Inform Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.25139/inform.v7i2.4484","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Artificial Intelligence (AI) is a branch of computer science that focuses on learning how computers can work or perform as well as humans or even better than humans. The development of artificial intelligence can be used as a benchmark for technological developments. Many problems can be solved using this artificial intelligence concept. One of them is a water jug ​​logic game. The water jugs problem is a game requiring converting a situation into another desired situation using a certain set of operations. The objective of this game is for players to develop their deductive reasoning skills by figuring out how to move x litters of water from one teapot to another. To accomplish this, they will refer to the beginning value that has to be filled in each teapot and the end value that needs to be filled in each teapot. Using the A* algorithm and the Breadth-First Search (BFS) algorithm, which both fall under the umbrella of artificial intelligence, it is possible to find a solution to this issue. The A* algorithm is a Best First Search algorithm that combines Uniform Cost Search and Greedy Best-First Search, while the Breadth-First Search algorithm is a graph search algorithm that performs a wide search at each level. This study analyzed the effectiveness of the A* and BFS algorithms in solving the water jug ​​logic problem, both from the number of steps and the time required for completion. The results of the tests were carried out, and it is known that the BFS algorithm is more effective than the A* algorithm because the BFS algorithm can provide a number of alternative solutions to the water jug ​​logic problem with various conditions.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
水茶壶博弈中A*算法优化与广度优先搜索分析
人工智能(AI)是计算机科学的一个分支,专注于学习计算机如何像人类一样工作或执行,甚至比人类更好。人工智能的发展可以作为技术发展的基准。使用这种人工智能概念可以解决许多问题。其中一个是水壶逻辑游戏。水壶问题是一款需要使用特定操作将一种情境转换成另一种理想情境的游戏。这个游戏的目的是让玩家通过计算如何将x升水从一个茶壶移到另一个茶壶来发展他们的演绎推理能力。为了完成此操作,它们将引用必须在每个茶壶中填充的开始值和需要在每个茶壶中填充的结束值。利用人工智能下的A*算法和广度优先搜索(BFS)算法,可以找到解决这个问题的方法。A*算法是一种结合了均匀代价搜索和贪婪最佳优先搜索的最佳优先搜索算法,而广度优先搜索算法是一种在每一级进行广泛搜索的图搜索算法。本研究从步骤数和完成所需时间两方面分析了A*和BFS算法在解决水壶逻辑问题中的有效性。测试结果表明,BFS算法比A*算法更有效,因为BFS算法可以为各种条件下的水壶逻辑问题提供多个备选解。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
31
审稿时长
10 weeks
期刊最新文献
Blended Learning Vocationalogy Entrepreneurship Program: Analysis of Human-Computer Interaction Based on Technology Acceptance Model (TAM) Sentiment Analysis for IMDb Movie Review Using Support Vector Machine (SVM) Method Estimation of Brake Pad Wear Using Fuzzy Logic in Real Time Website Analysis and Design Using Iconix Process Method: Case Study: Kedai Lengghian Classification of Pistachio Nut Using Convolutional Neural Network
×
引用
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