Top "A-star" questions

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

What can be the efficient approach to solve the 8 puzzle problem?

The 8-puzzle is a square board with 9 positions, filled by 8 numbered tiles and one gap. At any point, a tile …

algorithm logic puzzle a-star sliding-tile-puzzle
Implementation of A Star (A*) Algorithm in Java

Disclaimer: I have little background in Java, since I am predominantly a C# developer. Would like to have the java …

java algorithm path-finding a-star
A* heuristic, overestimation/underestimation?

I am confused about the terms overestimation/underestimation. I perfectly get how A* algorithm works, but i am unsure of …

algorithm search graph artificial-intelligence a-star
Manhattan distance in A*

I am implementing a NxN puzzle solver using A* search algorithm and using Manhattan distance as a heuristic and I've …

java artificial-intelligence a-star sliding-tile-puzzle
Python - Speed up an A Star Pathfinding Algorithm

I've coded my first slightly-complex algorithm, an implementation of the A Star Pathfinding algorithm. I followed some Python.org advice …

python algorithm performance a-star
Using A* to solve Travelling Salesman

I've been tasked to write an implementation of the A* algorithm (heuristics provided) that will solve the travelling salesman problem. …

algorithm a-star traveling-salesman
A* Search Algorithm

I would like to have something clarified with regards to the following A* Search example: The sections highlighted with the …

algorithm a-star
Why is the complexity of A* exponential in memory?

Wikipedia says on A* complexity the following (link here): More problematic than its time complexity is A*’s memory usage. …

algorithm artificial-intelligence graph complexity-theory a-star
psycopg2.InterfaceError: connection already closed / pgr_astar

I am using psycopg2 to access a postgresql database from python. When I try to run the pgrouting function "pgr_…

python postgresql psycopg2 a-star pgrouting
How can the A* algorithm be applied to the traveling salesman problem?

Possible Duplicate: Using A* to solve Travelling Salesman Problem I have recently learned that the A* algorithm can be applied …

algorithm a-star traveling-salesman