Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: depthfirst versus depthlimited

Author: Christophe Theron

Date: 19:49:05 05/19/04

Go up one level in this thread


On May 19, 2004 at 22:28:50, Vincent Diepeveen wrote:

>main() {
>  search(10); // search 10 ply depthfirst
>
>  for i = 1 to 10 // depth limited 1..10 ply search
>    search(i);
>}
>
>search(int depth) {
>  if depth == 0
>    then return eval();
>  else for all moves
>    search(depth-1);
>}
>
>Robert Morgan Hyatt doesn't seem to understand this in his thesis.



Your code does not compile. Can you help?



    Christophe



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.