Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (11 loc) · 984 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 984 Bytes

Background

A* (pronounced "A-star") is a graph traversal and path search algorithm, which is often used in many fields of computer science due to its completeness, optimality, and optimal efficiency. — referenced from Wikipedia

Worst-case Time Complexity: Worst-case Time Complexity

Worst-case Space Complexity:


As an informed variation of Dijkstra, A* is considered a best first search because it greedily chooses which vertex to explore next, according to the value of , where is the heuristic and is the cost so far.

Python Implementation