What is the A* time complexity and how is it derived?

phedon rousou picture phedon rousou · May 14, 2012 · Viewed 9.6k times · Source

I was wondering if anyone could explain the A* time complexity. I am using a heuristic that uses euclidean distance for the estimate of the weight. There are no loops in the heuristic function. So i think that the time complexity of the heuristic is O(1).

Taking this into account, what would the A* complexity be and how is that derived?

Answer

yossico picture yossico · Feb 6, 2013

you can have your answer here: Why is the complexity of A* exponential in memory?

time complexity is like memory complexity