Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


State space Search (more)


Breadth-first search v. Depth-first search

Let us compare these two forms of exhaustive search.



3.2.4 - Iterative deepening depth-first search

Iterative deepening depth-first search
   Depth-first with bound of 1 level.
   If goal not found, depth-first with bound of 2.
   If goal not found, depth-first with bound of 3.
   ...
Guaranteed to find shortest path.


Image above.




Uninformed search

These are all Uninformed search algorithms.
Generic algorithms for any search problem.
No problem-specific information.
No problem-specific heuristic to guide/restrict search.


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.