Skip to content

saksham-1/A-Path-Planning-Algorithm-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

A-Path-Planning-Algorithm-Visualizer

Description

The A*star path planning algorithm is a popular and efficient graph traversal and search algorithm that was developed in 1968 by Peter Hart, Nils Nilsson and Bertram Raphael of the Stanford Research Institute. I have always been fascinated by the efficiency and complexity of search algorithms and this interest led me to try and implement the algorithm myself in an interesting and visual way.

Rule of exspansion - Expand node with lowest f value, aka node that is close to the straightest diagonal path from the start node to end node put simply

Hueristic used is Manhanntan Distance

Implementation

To do this I used, the py-game python module for the visualization aspect.

The use of methods in Data Structures & Algorithms and Priority Queues were crucial in the implementation of the actual A* algorithm.

How to use / Visualize

Python Dependencies

  1. Python 3.6 and up

  2. Py-game library (latest version)

  3. Math library

  4. Priority Queue library

Running the Visualizer

  1. After running the program;

  2. Select the starting node from which the A* algorithm should begin the search.

  3. Select a goal/end node at which the A* algorithm will attempt to reach.

  4. Select barrier nodes that will represent obstacles that the algorithm must traverse to reach the goal node. (These will appear black in colour)

  5. Hit the space bar and enjoy the visualization of the searching process.

About

Description The A*star path planning algorithm is a popular and efficient graph traversal and search algorithm that was developed in 1968 by Peter Hart, Nils Nilsson and Bertram Raphael of the Stanford Research Institute. I have always been fascinated by the efficiency and complexity of search algorithms and this interest led me to try and imple…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages