Local search algorithms in AI

Local search algorithms are useful for solving pure optimization problems, in which the aim is to find the best state according to an objective function To understand local search, we find it useful to consider the state-space landscape . A landscape has both “location” (defined by the state) and “elevation” (defined by the value of … Read more

Bidirectional search in AI

Bidirectional search is implemented by replacing the goal test with a check to see whether the frontiers of the two searches intersect; if they do, a solution has been found. (It is important to realize that the first such solution found may not be optimal, even if the two searches are both breadth-first; some additional … Read more

Measuring problem-solving performance in AI

We can evaluate an algorithm’s performance in four ways in Artificial intelligence Completeness Optimality Time complexity Space complexity Time and space complexity are always considered with respect to some measure of the problem difficulty. In theoretical computer science, the typical measure is the size of the state space graph, |V | + |E|, where V … Read more