ARTIFICIAL INTELLIGENCE

Depth First Iterative Deepening Search

Searching And-Or graphs

Depth First Iterative Deepening Search (DFIDS): DFIDS is a variation of DLS. If the lowest depth of a goal state is not known, we can always find the best limit l for DLS by trying all possible depths l = 0, 1, 2, 3, … in turn, and stopping once we have achieved a goal state.

This appears wasteful because all the DLS for l less than the goal level are useless, and many states are expanded many times. However, in practice, most of the time is spent at the deepest part of the search tree, so the algorithm actually combines the benefits of DFS and BFS.

Because all the nodes are expanded at each level, the algorithm is complete and optimal like BFS, but has the modest memory requirements of DFS. Exercise: if we had plenty of memory, could/should we avoid expanding the top level states many times? The space complexity is O(bd) as in DLS with l = d, which is better than BFS. omplexity is O(b^d) as in BFS, which is better than DFS.

Team Educate

About Author

Leave a comment

Your email address will not be published. Required fields are marked *

You may also like

List the various type of agent types
ARTIFICIAL INTELLIGENCE

List the various type of agent types

In artificial intelligence, agents can be categorized into several types based on their characteristics and capabilities. Here are some of
ARTIFICIAL INTELLIGENCE

What are the factors that a rational agent should depend on at any given time?

A rational agent should consider several key factors when making decisions at any given time: Perceptual Input: The current information