Steps Towards a Science of Heuristic Search

Total Page:16

File Type:pdf, Size:1020Kb

Steps Towards a Science of Heuristic Search STEPS TOWARDS A SCIENCE OF HEURISTIC SEARCH BY Christopher Makoto Wilt MS in Computer Science, University of New Hampshire 2012 AB in Mathematics and Anthropology, Dartmouth College, 2007 DISSERTATION Submitted to the University of New Hampshire in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Computer Science May, 2014 ALL RIGHTS RESERVED c 2014 Christopher Makoto Wilt This dissertation has been examined and approved. Dissertation director, Wheeler Ruml, Associate Professor of Computer Science University of New Hampshire Radim Bartˇos, Associate Professor, Chair of Computer Science University of New Hampshire R. Daniel Bergeron, Professor of Computer Science University of New Hampshire Philip J. Hatcher, Professor of Computer Science University of New Hampshire Robert Holte, Professor of Computing Science University of Alberta Date ACKNOWLEDGMENTS Since I began my doctoral studies six years ago, Professor Wheeler Ruml has provided the support, guidance, and patience needed to take me from “never used a compiler” to “on the verge of attaining the highest degree in the field of computer science”. I would also like to acknowledge the contributions my committee have made to my development over the years. The reality of graduate school is that it requires long hours and low pay, but one factor that makes it more bearable is good company, and I have the University of New Hampshire Artificial Intelligence Research Group to thank for making those long days more bearable. The work in this dissertation was partially supported by the National Science Founda- tion (NSF) grants IIS-0812141 and IIS-1150068. In addition to NSF, this work was also partially supported by the Defense Advanced Research Projects Agency (DARPA) grant N10AP20029 and the DARPA CSSG program (grant HR0011-09-1-0021). iv TABLE OF CONTENTS ACKNOWLEDGMENTS ............................... iv LISTOFTABLES................................... viii LISTOFFIGURES .................................. x ABSTRACT ...................................... xi Chapter 1 Introduction 1 1.1 FormalBackground................................ 1 1.2 SearchAlgorithmProliferation . ..... 3 1.3 BetterSearchingthroughScience . ..... 4 1.4 DissertationOutline ............................. 5 Chapter 2 Bidirectional Search 9 2.1 Heuristic Improvement through Bidirectional Search . ........... 11 2.2 IncrementalKKAdd ............................... 14 2.3 A*withAdaptiveIncrementalKKAdd. 20 2.4 IDA*withIncrementalKKAdd . 21 2.5 EmpiricalEvaluation. 22 2.6 Limitations .................................... 30 2.7 Conclusion .................................... 30 Chapter 3 Managing the Open List 32 3.1 PreviousWork .................................. 33 3.2 PriorityQueues.................................. 35 3.3 FringeSearch ................................... 41 3.4 SelectinganImplementation. 47 3.5 Conclusion .................................... 49 v Chapter 4 Building Effective Heuristics for Greedy Best-First Search 51 4.1 Introduction.................................... 51 4.2 When is increasing w bad? ........................... 53 4.3 HeuristicRequirements . 55 4.4 Greedy Best-First Search with A* Heuristics . ....... 58 4.5 Quantifying Effectiveness in Greedy Heuristics . ......... 68 4.6 Building a Heuristic by Hill Climbing on Greedy Distance Rank Correlation 78 4.7 RelatedWork................................... 81 4.8 Conclusion .................................... 83 Chapter 5 Why d is Better than h 85 5.1 OperatorCosts .................................. 85 5.2 The importance of d ............................... 96 5.3 RelatedWork................................... 119 5.4 Conclusion .................................... 121 Chapter 6 Conclusion 123 vi LIST OF TABLES 2-1 CPU seconds (T), expansions (E), and heuristic evaluations (H) (both in thousands) required to find optimal solutions. 27 3-1 Average performance of Fringe Search and A* with different open list implementations on five benchmark domains. A* (All Nodes) denotes the number of expansions done by A* expanding all nodes in the final f layer, instead of stopping at the first provably optimal solution. Bold denotesthebestvalueforeachmetric. 37 3-2 Average total solving time of A* using a binary heap and a Fast Float Heapondifferentproblems. 41 3-3 Sign test between FFH and binary heap A* solving the Towers of Hanoi 41 3-4 A* using 3 different kinds of open lists solving the inverse15puzzle . 48 4-1 Domain Attributes for benchmark domains considered . ....... 53 4-2 Average number of nodes expanded to solve 51 12 disk Towers of Hanoi problems. ................................... 58 4-3 Amount of work required by Greedy best-first search and A* to solve 3x4 tile instances with different pattern databases. DNF denotes at least one instance would require more than 8GB to solve. 66 4-4 Average % error and correlation between h(n) and h∗(n)......... 69 4-5 Correlation between h(n) and d∗(n) .................... 74 4-6 Average % error, correlation between h(n) and h∗(n), and correlation between h(n) and d∗(n) inCityNavigation55 . 76 4-7 Expansions to solve TopSpin problem with the stripe cost function using differentPDBs ................................ 79 vii 5-1 DifficultyofsolvingthepuzzlefromFigure5-1 . ..... 86 5-2 Failure rate of A* on tile puzzles with different cost functions, and confi- denceintervalforfailurerate . 87 5-3 A*expansionsondifferentproblems . 88 5-4 Sizes of local minima and average number of expansions required to find asolution.................................... 94 5-5 Expansions required by greedy best-first search to solve different pancake puzzlesusingaconstantsize(7cake)PDB. 95 5-6 Correlation of heuristic with search effort in various domains using Kendall’s τ, Spearman’s ρ, and Pearson’s r ...................... 98 5-7 Algorithmsonunitcostdomains . 115 5-8 Solving the 4x4 face3 slidingtilepuzzle. 115 5-9 Solving14-pancake(cost=sum)problems. 117 5-10 GridPathPlanningwithLifeCosts. 118 viii LIST OF FIGURES 1-1 ExamplenavigationproblemfromWarcraft2 . .... 2 1-2 Graphcreatedfromnavigationproblem . ... 2 2-1 TopSpinpuzzle ................................ 10 2-2 TowersofHanoiproblemwith4pegsand6disks . 10 2-3 Solving time of A* and four bidirectional searches on the Towers of Hanoi problem .................................... 12 2-4 Algorithm1: A*withIncrementalKKAdd . 15 2-5 Algorithm 2: Forwards Search for Incremental KKAdd . ...... 15 2-6 Algorithm 3: Backwards Search for Incremental KKAdd . ...... 16 2-7 A city navigation problem with np = nc = 3, with 15 cities and 15 locationsineachcity.............................. 24 3-1 FastFloatHeap................................ 39 4-1 Domains where increasing the weight speeds up search . ....... 55 4-2 Domains where increasing the weight slows down search . ....... 56 4-3 The minimum h value on open as the search progresses, using different patterndatabases............................... 59 4-4 Two Towers of Hanoi states, one near a goal (top) and one far from a goal (bottom). Note that the goal peg is the leftmost peg. 60 4-5 The minimum h value on open as the search progresses solving a Tow- ers of Hanoi problem using disjoint pattern databases with different cost functions, square on left, reverse square on right. ...... 63 4-6 TopSpinpuzzlewithdifferentheuristics . ..... 64 4-7 Different tile abstractions. DNF denotes at least one instance would re- quiremorethan8GBtosolve.. 66 ix 4-8 Plot of h(n) vs h∗(n), and h(n) vs d∗(n) for City Navigation 4 4 . 70 4-9 Average log of expansions with different heuristics, plotted with different GDRC..................................... 75 4-10 Average log of expansions with each of the possible 462 5/6 disjoint PDB heuristics for the 3x4 sliding tile puzzle, plotted against GDRC ..... 76 4-11 Expansions with differing number of neighbors for citiesandplaces . 77 4-12 HillClimbingPDBBuilder . 78 5-1 Left: 15 puzzle instance with a large heuristic minimum. Right: State in whichthe14tilecanbemoved. 86 5-2 Examples of heuristic error accumulation along a path . ........ 91 5-3 Picture of one or two of local minima, depending on how they are defined 99 5-4 Example of how to remove extra nodes from a supergraph . 102 5-5 Anexampleofashortcuttree. 103 5-6 Asearchtreewithalocalminimum. 107 5-7 The minimum h value on open as the search progresses, using a disjoint PDB....................................... 110 x ABSTRACT STEPS TOWARDS A SCIENCE OF HEURISTIC SEARCH by Christopher Makoto Wilt University of New Hampshire, May, 2014 Heuristic search is one of the most important graph search techniques, allowing people to find paths through graphs that can have more nodes than there are atoms in the universe. There has been much research in developing heuristic search algorithms, but much less work on when and why those new heuristic search algorithms work well. Every heuristic search algorithm makes assumptions about the nature of the graph to be searched and the heuristic, and these assumptions allow the algorithm to perform well in certain circumstances, but perform poorly when those assumptions turn out to be false. The thesis of this dissertation is that understanding the assumptions behind heuristic search algorithms can be used to better select heuristic search algorithms, and to improve heuristic search algorithms. We begin by discussing how assumptions made during optimal heuristic search impact performance, and how directly addressing these assumptions can lead to improved perfor- mance. We next turn our attention to implementation
Recommended publications
  • A Faster Alternative to Traditional A* Search: Dynamically Weighted BDBOP
    Int'l Conf. Artificial Intelligence | ICAI'16 | 3 A Faster Alternative to Traditional A* Search: Dynamically Weighted BDBOP John P. Baggs, Matthew Renner and Eman El-Sheikh Department of Computer Science, University of West Florida, Pensacola, FL, USA A path-finding algorithm requires the following: a start Abstract – Video games are becoming more computationally point, an end point, and a representation of the environment complex. This requires video game designers to carefully in which the search is to take place. Today, the two main allocate resources in order to achieve desired performance. methods environments are represented in video games are This paper describes the development of a new alternative to with square grids and navigation meshes. Square grids take a traditional A* that decreases the time to find a path in three- specific section of space in the environment and map the dimensional environments. We developed a system using Unity space to a matrix location. The matrix has to be large enough 5.1 that allowed us to run multiple search algorithms on to contain the number of squares needed to represent the different environments. These tests allowed us to find the environment. Navigation meshes were developed in the 1980s strengths and weaknesses of the variations of traditional A*. for robotic path-finding and most games after the 2000s have After analyzing these strengths, we defined a new alternative adopted these navigation meshes. In [3], a navigation mesh is algorithm named Dynamically Weighted BDBOP that defined as “…a set of convex polygons that describe the performed faster than A* search in our experiments.
    [Show full text]
  • Pathfinding in Strategy Games and Maze Solving Using A* Search Algorithm
    Journal of Computer and Communications, 2016, 4, 15-25 http://www.scirp.org/journal/jcc ISSN Online: 2327-5227 ISSN Print: 2327-5219 Pathfinding in Strategy Games and Maze Solving Using A* Search Algorithm Nawaf Hazim Barnouti, Sinan Sameer Mahmood Al-Dabbagh, Mustafa Abdul Sahib Naser Al-Mansour University College, Baghdad, Iraq How to cite this paper: Barnouti, N.H., Abstract Al-Dabbagh, S.S.M. and Naser, M.A.S. (2016) Pathfinding in Strategy Games and Pathfinding algorithm addresses the problem of finding the shortest path from Maze Solving Using A* Search Algorithm. source to destination and avoiding obstacles. One of the greatest challenges in the Journal of Computer and Communications, design of realistic Artificial Intelligence (AI) in computer games is agent movement. 4, 15-25. http://dx.doi.org/10.4236/jcc.2016.411002 Pathfinding strategies are usually employed as the core of any AI movement system. In this work, A* search algorithm is used to find the shortest path between the source Received: July 25, 2016 and destination on image that represents a map or a maze. Finding a path through a Accepted: September 4, 2016 Published: September 8, 2016 maze is a basic computer science problem that can take many forms. The A* algo- rithm is widely used in pathfinding and graph traversal. Different map and maze Copyright © 2016 by authors and images are used to test the system performance (100 images for each map and maze). Scientific Research Publishing Inc. The system overall performance is acceptable and able to find the shortest path be- This work is licensed under the Creative Commons Attribution International tween two points on the images.
    [Show full text]
  • Influence Map-Based Pathfinding Algorithms in Video Games
    UNIVERSIDADE DA BEIRA INTERIOR Engenharia Influence Map-Based Pathfinding Algorithms in Video Games Michaël Carlos Gonçalves Adaixo Dissertação para obtenção do Grau de Mestre em Engenharia Informática (2º ciclo de estudos) Orientador: Prof. Doutor Abel João Padrão Gomes Covilhã, Junho de 2014 Influence Map-Based Pathfinding Algorithms in Video Games ii Influence Map-Based Pathfinding Algorithms in Video Games Dedicado à minha Mãe, ao meu Pai e à minha Irmã. iii Influence Map-Based Pathfinding Algorithms in Video Games iv Influence Map-Based Pathfinding Algorithms in Video Games Dedicated to my Mother, to my Father and to my Sister. v Influence Map-Based Pathfinding Algorithms in Video Games vi Influence Map-Based Pathfinding Algorithms in Video Games Acknowledgments I would like to thank Professor Doutor Abel Gomes for the opportunity to work under his guidance through the research and writing of this dissertation, as well as to Gonçalo Amador for sharing his knowledge with me on the studied subjects. I want to thank my family, who always provided the love and support I needed to pursue my dreams. I would like to show my gratitude to my dearest friends, Ana Rita Augusto, Tiago Reis, Ana Figueira, Joana Costa, and Luis de Matos, for putting up with me and my silly shenanigans over our academic years together and outside the faculty for remaining the best of friends. vii Influence Map-Based Pathfinding Algorithms in Video Games viii Influence Map-Based Pathfinding Algorithms in Video Games Resumo Algoritmos de pathfinding são usados por agentes inteligentes para resolver o problema do cam- inho mais curto, desde a àrea jogos de computador até à robótica.
    [Show full text]
  • Influence-Based Motion Planning Algorithms for Games
    UNIVERSIDADE DA BEIRA INTERIOR Engenharia Influence-based Motion Planning Algorithms for Games Gonçalo Nuno Paiva Amador Tese para obtenção do Grau de Doutor em Engenharia Informática (3º ciclo de estudos) Orientador: Prof. Doutor Abel João Padrão Gomes Covilhã, Junho of 2017 ii This thesis was conducted under supervision of Professor Abel João Padrão Gomes. The research work behind this doctoral dissertation was developed within the NAP-Cv (Net- work Architectures and Protocols - Covilhã) at Instituto de Telecomunicações, University of Beira Interior, Portugal. The thesis was funded by the Portuguese Research Agency, Foundation for Science and Technology (Fundação para a Ciência e a Tecnologia) through grant contract SFHR/BD/86533/2012 under the Human Potential Operational Program Type 4.1 Ad- vanced Training POPH (Programa Operacional Potencial Humano), within the National Strategic Reference Framework QREN (Quadro de Referência Estratégico Nacional), co- funded by the European Social Fund and by national funds from the Portuguese Educa- tion and Science Minister (Ministério da Educação e Ciência). iii iv À minha famí liae amigos. v vi To my family and friends. vii viii Acknowledgments This thesis would not have reached this final stage without my supervisor, my family, and my friends. To my supervisor Professor Abel Gomes. First, for his guidance in helping me defining a proper work plan for my PhD thesis. Second, by his interesting doubts and suggestions, that often resulted in extra programming and writing hours. Third, for his rigorous (and I really mean ‘rigorous’) revision of every single article related to my PhD and thesis chapters/sections. Finally, for accepting, enduring, and surviving being my supervisor, specially because I am sometimes difficult to deal with.
    [Show full text]
  • Cpe/Csc 480 Artificial Intelligence Midterm Section 1 Fall 2005
    C P E / C S C 4 8 0 A RT I F I C I A L I NT E L L I G E NC E M I DT E R M S E C T I O N 1 FA L L 2 0 0 5 PRO F. FRANZ J. KURFESS CAL POL Y, COMPUTER SCIENCE DE PARTMENT This is the Fall 2005 midterm exam for the CPE/CSC 480 class. You may use textbooks, course notes, or other material, but you must formulate the text for your answers yourself. The use of calculators or computers is allowed for viewing documents or for numerical calculations, but not for the execution of algorithms or programs to compute solutions for exam questions. The exam time is 80 minutes. Student Name: Signature: Date: CPE 480 ARTIFICIAL INTELLIGENCE MIDTERM F05 PA RT 1: MULTIPLE CHOICE QUESTIONS Mark the answer you think is correct. I tried to formulate the questions and answers so that there is only one correct answer. Each question is worth 3 points. [30 points] a) Which statement characterizes a rational agent best? ! An agent that performs reasoning steps to select the next action. ! An agent that can explain its choice of an action. ! An agent that always selects the best action under the given circumstances. ! An agent that is capable of predicting the actual outcome of an action. b) What is the most significant aspect that distinguishes an agent with an internal state from a reflex agent? ! An agent that selects its actions based on rules describing common input-output associations.
    [Show full text]
  • Fringe Search Vs. A* for NPC Movement
    Generated by Foxit PDF Creator © Foxit Software http://www.foxitsoftware.com For evaluation only. Fringe Search vs. A* for NPC movement Andru Putra Twinanda - 13506046 Informatics Engineering School of Electrical dan Informatics Engineering Institut Teknologi Bandung Jalan Ganesa 10 e-mail: [email protected] ABSTRACT player will lose. To determine which path they should take, thay need an algorithm that will take them to the This paper presents how artificial intelligence (AI) is player character, effectively and, more important, used in games to solve common problems and provide efficiently. This is the problem of NPC movement. game features, specifically, non-playing character (NPC) path finding. A* algorithm is a well-known algorithm to solve path finding problem. Beside A* algorithm, in this paper, Fringe Search algorithm is introduced. It is more efficient that A* algorithm. Experimental results show that Fringe Search runs roughly 10-40% faster than highly-optimized A* in many application. Keywords: AI, NPC, path finding, A*, Fringe Search, faster. 1. INTRODUCTION Games today are better than at any time in the past. Thanks to the latest powerful hardware Figure 1. Ms. Pacman Screenshot. platforms, artists are creating near photo-realistic How Could The Monsters Find Ms. Pacman? environments, game designers are building finely detailed worlds, and programmers are coding effects more spectacular than ever before. Unfortunately, this leap in graphics quality and richness of detail has not been matched by a similar increase in the sophistication and believability of artificial intelligence (AI). Three common problems that computer games must provide a solution for are non-playing character (NPC) movement, NPC decision making, and NPC learning.
    [Show full text]
  • Video Game Pathfinding and Improvements to Discrete Search on Grid-Based Maps By
    Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps by Bobby Anguelov Submitted in partial fulfillment of the requirements for the degree Master of Science in the Faculty of Engineering, Built Environment and Information Technology University of Pretoria Pretoria JUNE 2011 © University of Pretoria Publication Data: Bobby Anguelov. Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps. Master’s dissertation, University of Pretoria, Department of Computer Science, Pretoria, South Africa, June 2011. Electronic, hyperlinked PDF versions of this dissertation are available online at: http://cirg.cs.up.ac.za/ http://upetd.up.ac.za/UPeTD.htm Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps by Bobby Anguelov Email: [email protected] Abstract The most basic requirement for any computer controlled game agent in a video game is to be able to successfully navigate the game environment. Pathfinding is an essential component of any agent navigation system. Pathfinding is, at the simplest level, a search technique for finding a route between two points in an environment. The real-time multi-agent nature of video games places extremely tight constraints on the pathfinding problem. This study aims to provide the first complete review of the current state of video game pathfinding both in regards to the graph search algorithms employed as well as the implications of pathfinding within dynamic game environments. Furthermore this thesis presents novel work in the form of a domain specific search algorithm for use on grid-based game maps: the spatial grid A* algorithm which is shown to offer significant improvements over A* within the intended domain.
    [Show full text]
  • Forward Perimeter Search with Controlled Use of Memory
    Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Forward Perimeter Search with Controlled Use of Memory Thorsten Schutt,¨ Robert Dobbelin,¨ Alexander Reinefeld Zuse Institute Berlin, Germany Abstract But the applicability of breadth-first search is limited to problems where the largest search front fits into the main There are many hard shortest-path search problems memory. Parallel implementations of BF-IDA* [Schutt¨ et al., that cannot be solved, because best-first search runs 2011] alleviate this problem by partitioning the search front out of memory space and depth-first search runs out over several computers and thereby utilizing the main memo- of time. We propose Forward Perimeter Search ries of all parallel machines as a single aggregated node store. (FPS), a heuristic search with controlled use of Although these algorithms have been shown to run efficiently memory. It builds a perimeter around the root node on parallel systems with more than 7000 CPU cores, there and tests each perimeter node for a shortest path to exist large problems that cannot be solved with BF-IDA*. the goal. The perimeter is adaptively extended to- Forward Perimeter Search (FPS) allows to steer the mem- wards the goal during the search process. ory consumption within certain limits and it does not suf- We show that FPS expands in random 24-puzzles fer from IDA*’s weaknesses (2) to (4). FPS first generates 50% fewer nodes than BF-IDA* while requiring a set of nodes (the perimeter P ) around the root node and several orders of magnitude less memory. then performs heuristic breadth-first searches to test whether Additionally, we present a hard problem instance any perimeter node p 2 P reaches a solution within a given of the 24-puzzle that needs at least 140 moves to threshold.
    [Show full text]
  • Pathfinding with Hard Constraints - Mobile Systems and Real Time Strategy Games Combined
    Master Thesis Computer Science Thesis no: MCS-2008-2 January 2008 Pathfinding with Hard Constraints - Mobile Systems and Real Time Strategy Games Combined Erdtman, Samuel & Fylling, Johan Department of Interaction and System Design School of Engineering Blekinge Institute of Technology Box 520 SE – 372 25 Ronneby Sweden Contact Information: Author(s): Johan Fylling, Samuel Erdtman [email protected], [email protected] External advisor(s): Alexander Ekvall Pixelknights AB [email protected] University advisor(s): Rune Gustavsson Department of Interaction and System Design Department of Internet : www.bth.se/tek Interaction and System Design Phone : + 46 457 38 50 00 Blekinge Institute of Technology Fax : + 46 457 102 45 Box 520 SE – 372 25 Ronneby Sweden ABSTRACT There is an abundance of pathfinding solutions, but are any of those solutions suitable for usage in a real time strategy (RTS) game designed for mobile systems with limited processing and storage capabilities (such as the Nintendo DS, PSP, cellular phones, etc.)? The RTS domain puts great requirements on the pathfinding mechanics used in the game; in the form of de- mands on responsiveness and path optimality. Furthermore, the Nintendo DS, and its portable, distant relatives, bring hard con- straints on the processing- and memory resources available to said mechanics. This master thesis aims to find a pathfinding solution well suited to function within the above mentioned, narrow domain. From a broad selection of candidate solutions, a few promising subjects are treated to an investigative empirical study; with the goal of finding the best “fitting” solution, considering the domain. The empirical study shows that the triangle-based TRA* solution and the hierarchical-abstraction influenced Minimal Memory so- lution are both very promising candidates.
    [Show full text]
  • HEURISTIC SEARCH with LIMITED MEMORY by Matthew Hatem
    HEURISTIC SEARCH WITH LIMITED MEMORY BY Matthew Hatem Bachelor’s in Computer Science, Plymouth State College, 1999 Master’s in Computer Science, University of New Hampshire, 2010 DISSERTATION Submitted to the University of New Hampshire in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Computer Science May, 2014 ALL RIGHTS RESERVED c 2014 Matthew Hatem This dissertation has been examined and approved. Dissertation director, Wheeler Ruml, Associate Professor of Computer Science University of New Hampshire Radim Bartoˇs, Associate Professor, Chair of Computer Science University of New Hampshire R. Daniel Bergeron, Professor of Computer Science University of New Hampshire Philip J. Hatcher, Professor of Computer Science University of New Hampshire Richard Korf, Professor of Computer Science University of California, Los Angeles Date DEDICATION To Noah, my greatest achievement. iv ACKNOWLEDGMENTS If I have seen further it is by standing on the shoulders of giants. – Isaac Newton My family has provided the support necessary to keep me working at all hours of the day and night. My wife Kate, who has the hardest job in the world, has been especially patient and supportive even when she probably shouldn’t have. My parents, Alison and Clifford, have made life really easy for me and for that I am eternally grateful. Working with my advisor, Wheeler Ruml, has been the most rewarding aspect of this entire endeavor. I would have given up years ago were it not for his passion, persistence and just the right amount of encouragement (actually, I tried to quit twice and he did not let me).
    [Show full text]
  • Performance Evaluation of Pathfinding Algorithms
    University of Windsor Scholarship at UWindsor Electronic Theses and Dissertations Theses, Dissertations, and Major Papers 1-1-2020 Performance Evaluation of Pathfinding Algorithms Harinder Kaur Sidhu University of Windsor Follow this and additional works at: https://scholar.uwindsor.ca/etd Recommended Citation Sidhu, Harinder Kaur, "Performance Evaluation of Pathfinding Algorithms" (2020). Electronic Theses and Dissertations. 8178. https://scholar.uwindsor.ca/etd/8178 This online database contains the full-text of PhD dissertations and Masters’ theses of University of Windsor students from 1954 forward. These documents are made available for personal study and research purposes only, in accordance with the Canadian Copyright Act and the Creative Commons license—CC BY-NC-ND (Attribution, Non-Commercial, No Derivative Works). Under this license, works must always be attributed to the copyright holder (original author), cannot be used for any commercial purposes, and may not be altered. Any other use would require the permission of the copyright holder. Students may inquire about withdrawing their dissertation and/or thesis from this database. For additional inquiries, please contact the repository administrator via email ([email protected]) or by telephone at 519-253-3000ext. 3208. Performance Evaluation of Pathfinding Algorithms By Harinder Kaur Sidhu A Thesis Submitted to the Faculty of Graduate Studies through the School of Computer Science in Partial Fulfillment of the Requirements for the Degree of Master of Science at the University of Windsor Windsor, Ontario, Canada 2019 © 2019 Harinder Kaur Sidhu Performance Evaluation of Pathfinding Algorithms by Harinder Kaur Sidhu APPROVED BY: ______________________________________________ C. Semeniuk Great Lakes Institute for Environmental Research ______________________________________________ A.
    [Show full text]
  • Thesis: Video Game Pathfinding and Improvements to Discrete Search on Grid-Based Maps
    Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps by Bobby Anguelov Submitted in partial fulfillment of the requirements for the degree Master of Science in the Faculty of Engineering, Built Environment and Information Technology University of Pretoria Pretoria JUNE 2011 Publication Data: Bobby Anguelov. Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps. Master‘s dissertation, University of Pretoria, Department of Computer Science, Pretoria, South Africa, June 2011. Electronic, hyperlinked PDF versions of this dissertation are available online at: http://cirg.cs.up.ac.za/ http://upetd.up.ac.za/UPeTD.htm Video Game Pathfinding and Improvements to Discrete Search on Grid-based Maps by Bobby Anguelov Email: [email protected] Abstract The most basic requirement for any computer controlled game agent in a video game is to be able to successfully navigate the game environment. Pathfinding is an essential component of any agent navigation system. Pathfinding is, at the simplest level, a search technique for finding a route between two points in an environment. The real-time multi-agent nature of video games places extremely tight constraints on the pathfinding problem. This study aims to provide the first complete review of the current state of video game pathfinding both in regards to the graph search algorithms employed as well as the implications of pathfinding within dynamic game environments. Furthermore this thesis presents novel work in the form of a domain specific search algorithm for use on grid-based game maps: the spatial grid A* algorithm which is shown to offer significant improvements over A* within the intended domain.
    [Show full text]