next up previous index
Next: Foreign C Interface Up: Bounded Depth-First Search Previous: Depth-First Iterative Deepening

Depth-First Search with Limited Depth

This is a special case of the dfid rule, where only a limit on the depth is imposed, but no execution is repeated, all goals at the given depth limit simply fail. The predicate

call_depth(Goal, DepthLimit)
is equivalent to dfid(Goal, DepthLimit, DepthLimit, 0), but it runs slightly faster.



Micha Meier
Mon Mar 4 12:11:45 MET 1996