Skip to content

A browser-based workspace for the development and demonstration of the A* algorithm in two-dimensions.

Notifications You must be signed in to change notification settings

mgatc/ai-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A* Workspace

A* is an optimal graph-search algorithm that is commonly considered be to "artificial intelligence." This supposed intellect comes from the use of heuristics, or computational shortcuts that usually increase the speed to find a goal. This project is meant to provide a browser-based workspace for the development and demonstration of the A* algorithm in two-dimensions. The heuristic here prefers to explore paths whose sum of current length and distance to goal is minimized. The Assignment 1 and 2 maps demonstrate this heuristic working well and working poorly, respectively.

A live version is available at https://mgatc.github.io/ai-workspace/. Use Google Chrome for best results.


Dependencies

  1. JSXGraph. A javascript geometry library for visualization. https://jsxgraph.uni-bayreuth.de/wp/index.html

  2. Google Closure Library. Used for Priority Queue. https://developers.google.com/closure/library


Potential Improvements

  1. Current implementation uses naive collision detection methods, slowing performance in environments with a large number of obstacles. Implementing a physics engine could improve this project.
  2. The UI could be improved to maximize the size of the user viewpoint into the search world. See https://mgatc.github.io/bounded-degree-plane-spanners/.

About

A browser-based workspace for the development and demonstration of the A* algorithm in two-dimensions.

Topics

Resources

Stars

Watchers

Forks

Languages