Top "A-star" questions

A* is a graph shortest-path algorithm that uses a heuristic function to speed up the search

A* time complexity

Wikipedia says the following on A*'s complexity: The time complexity of A* depends on the heuristic. In the worst …

complexity-theory a-star
Is A-star guaranteed to give the shortest path in a 2D grid

I am working with A-star algorithm, whereing I have a 2D grid and some obstacles. Now, I have only vertical …

algorithm path-finding a-star
A-star: heuristic for multiple goals

Let's consider a simple grid, where any point is connected with at most 4 other points (North-East-West-South neighborhood). I have to …

algorithm a-star
n-puzzle solving with A* algorithm using C++

I am implementing A* algorithm in C++ to solve the n-puzzle problem. I tried to implement the pseudocode in this …

c++ heuristics a-star sliding-tile-puzzle
A-star algorithm

I'm having issues with my A-star implemention. It does find path from my point A to B but not if …

c++ algorithm a-star
Admissible Heuristic Manhattan Distance

I recently started an introductory course to Artificial Intelligence and I have been given an assignment to implement an admissible …

algorithm artificial-intelligence a-star heuristics
What is the A* time complexity and how is it derived?

I was wondering if anyone could explain the A* time complexity. I am using a heuristic that uses euclidean distance …

time complexity-theory a-star
questions regarding the use of A* with the 15-square puzzle

I'm trying to build an A* solver for a 15-square puzzle. The goal is to re-arrange the tiles so that …

algorithm graph a-star
A star algorithm without diagonal movement

Situation: I'm trying to translate the A* algoritm into c++ code where there is no diagonal movement allowed but I'm …

c++ path-finding a-star
A* Pathfinding - Java, Slick2D Library

So I use Slick2D and I am making a game. It has a TiledMap and entities (as any other …

java path-finding a-star slick2d