Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (50.2k points)

I do understand that a complete algorithm is one where if there is a solution, the algorithm can find it and that optimal algorithm is one where it manages to find the least cost solution.

But is an optimal algorithm, a complete algorithm? Can please briefly explain?

Thanks.

1 Answer

0 votes
by (107k points)

Here are some properties of search algorithms and the solutions they find:

  1. Termination: The computation is insured to terminate, no matter how large the search space is.

  2. Completeness: An algorithm is considered to be complete if it ends with a solution when one exists. Yes, by definition. Finding the optimal solution entails proving optimality. This can be done by finding all solutions or by proving that no solution can have a better cost than the one found already. In both cases, at least one solution has to be found.

If you are looking to learn more about Artificial Intelligence then you visit Artificial Intelligence Tutorial and Artificial Intelligence Course. Also, if you are appearing for job profiles of AI Engineer or AI Expert then you can prepare for the interviews on Artificial Intelligence Interview Questions.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...