A-Star
A* (pronounced "A-star") is a graph traversal and pathfinding algorithm that is used in many fields of computer science due to its completeness, optimality, and optimal efficiency. Given a weighted graph, a source node and a goal node, the algorithm finds the shortest path (with respect to the given weights) from source to goal.
One major practical drawback is its
O
(
b
d
)
{\displaystyle O(b^{d})}
space complexity where d is the depth of the shallowest solution (the length of the shortest path from the source node to any given goal node) and b is the branching factor (the maximum number of successors for any given state), as it stores all generated nodes in memory. Thus, in practical travel-routing systems, it is generally outperformed by algorithms that can pre-process the graph to attain better performance, as well as by memory-bounded approaches; however, A* is still the best solution in many cases.
Peter Hart, Nils Nilsson and Bertram Raphael of Stanford Research Institute (now SRI International) first published the algorithm in 1968. It can be seen as an extension of Dijkstra's algorithm. A* achieves better performance by using heuristics to guide its search.
Compared to Dijkstra's algorithm, the A* algorithm only finds the shortest path from a specified source to a specified goal, and not the shortest-path tree from a specified source to all possible goals. This is a necessary trade-off for using a specific-goal-directed heuristic. For Dijkstra's algorithm, since the entire shortest-path tree is generated, every node is a goal, and there can be no specific-goal-directed heuristic.
CASSAVA
- 2025-04-09T00:00:00.000000Z
TESTING
- 2025-03-12T00:00:00.000000Z
PAPAPA
- 2025-01-29T00:00:00.000000Z
Ting Ting
- 2024-05-24T00:00:00.000000Z
Hot Topic
- 2024-02-16T00:00:00.000000Z
Come Alive
- 2023-12-22T00:00:00.000000Z
Leave It There
- 2023-05-25T00:00:00.000000Z
Gwen Stefani
- 2023-04-06T00:00:00.000000Z
Go Again
- 2023-02-22T00:00:00.000000Z
Pika Pika
- 2022-12-09T00:00:00.000000Z
Spintex Road
- 2022-05-11T00:00:00.000000Z
7 to 7
- 2022-04-27T00:00:00.000000Z
Yensa
- 2022-01-28T00:00:00.000000Z
African Gang
- 2021-10-29T00:00:00.000000Z
Last Dance
- 2021-07-30T00:00:00.000000Z
Stepping Good
- 2021-05-21T00:00:00.000000Z
Free
- 2020-12-04T00:00:00.000000Z
Nana Riddim
- 2020-11-27T00:00:00.000000Z
Mata
- 2020-08-28T00:00:00.000000Z
Don't Touch Me
- 2020-08-21T00:00:00.000000Z
Similar Artists