Slide 1

Slide 1 text

Path Finding Problem Zolbayar Magsar Chanmann Lim Yihan Xu

Slide 2

Slide 2 text

Introduction • Solve Path Finding problem • Find the routing path on a grid from a given square A to destination B using: - Uninformed search algorithms (Breadth First, Depth First) - Heuristic search algorithms ( Best First, A*) - Local Search algorithms (Hill-climbing, Simulated annealing) • Make use of Manhattan distance heuristics for the informed search and scoring function for local search.

Slide 3

Slide 3 text

Motivation Seeing search in action so AI students can understand search better!

Slide 4

Slide 4 text

Problems to be studied • Search Algorithms • Visualization

Slide 5

Slide 5 text

Existing Work Implemented in NodeJS (Raphaël)

Slide 6

Slide 6 text

Our Implementation We implemented in Java (Swing) adding local searches

Slide 7

Slide 7 text

Detailed Aspects Algorithm Used • Breadth First Search • Depth First Search • Greedy Best First Search • A* Search • Hill Climbing Search • Simulated Annealing

Slide 8

Slide 8 text

Algorithm - Uninformed Search Breadth First Search Depth First Search

Slide 9

Slide 9 text

Best First Search A* Search Algorithm - Heuristic Search

Slide 10

Slide 10 text

Algorithm - Local Search Hill-Climbing Search Simulated Annealing

Slide 11

Slide 11 text

Cooling schedule • Initial Temperature : 1000 • Temperature decrease function: Linear Multiplicative Cooling

Slide 12

Slide 12 text

Detailed Aspects Running Performance Execution Time Comparison 0 1 2 3 4 5 Sample 1 2 3 4 5 6 7 8 9 10 Breadth First Depth First Best First A* Hill-Climbing Simulated Annealing

Slide 13

Slide 13 text

Detailed Aspects Running Performance Path Cost Comparison 0 100 200 300 400 500 600 700 Sample 1 2 3 4 5 6 7 8 9 10 Breadth First Depth First Best First A* Hill-Climbing Simulated Annealing

Slide 14

Slide 14 text

Detailed Aspects Running Performance Expanded Nodes Comparison 0 100 200 300 400 500 600 Sample 1 2 3 4 5 6 7 8 9 10 Breadth First Depth First Best First A* Hill-Climbing Simulated Annealing

Slide 15

Slide 15 text

Conclusion • Breadth First Search is guaranteed to find the goal, the Depth First can reach the goal only in finite state space. • Greedy Best First Search finds suboptimal path, and A* Search is guaranteed to find the shortest path if the heuristic is never larger than the true distance. In the implementation, we use Manhattan Heuristic. • Hill-Climbing Search and Simulated Annealing are not even guaranteed to find a solution, have linear time/space advantage. • A* is a good choice for most pathfinding needs.

Slide 16

Slide 16 text

Q&A Thank You