0 votes
In the context of informed search, what is the difference between complete, optimal and optimally efficient algorithm?

Is A* complete?

Is A* optimal?

Is A* optimally efficient?
in Informed Search by AlgoMeister (1.6k points)

1 Answer

+2 votes

The complete means the algorithm addresses all possible inputs, optimal means algorithm will return the best solution, optimally efficient means no other methods will cost less.

A* is complete because heuristic is always less than the real and finally it will lead to the optimal solution. The prove is same with why A* is optimal.

A* is optimal g(n)+h(n)<= real cost, g(final)+h(0)=final cost, so the algorithm will travel some possible nodes which costs less than real final cost. But the final solution must be optimal.

A* is optimally efficient: if we design h, method doesn't matter.

by Active (300 points)
edited by

Related questions

0 votes
3 answers
asked Mar 19, 2023 in Informed Search by Amrinder Arora AlgoMeister (1.6k points)
0 votes
2 answers
asked Jul 31, 2023 in Math Basics by Amrinder Arora AlgoMeister (1.6k points)
The Book: Analysis and Design of Algorithms | Presentations on Slideshare | Lecture Notes, etc
...