gregdavenport2000
Programmer
Hello,
How do I modify a depth-first search algorithm written in prolog, so that it counts the number of nodes in the search tree it has visited? I'm doing this with the aim to modify the algorithm to prune search paths of certain lengths (also known as depth-limited search).
Thanks.
How do I modify a depth-first search algorithm written in prolog, so that it counts the number of nodes in the search tree it has visited? I'm doing this with the aim to modify the algorithm to prune search paths of certain lengths (also known as depth-limited search).
Thanks.