It is purely depth-first. You do nothing until you go down the left-hand side of the tree and reach a terminal node. Also, depth-first has O(D) memory requirements (D = depth). Best-first has O(W^D) since you must store the entire tree.Gian-Carlo Pascutto wrote:So, are modern chess programs best-first or depth-first searchers? Does the distinction even make sense, given that we all use the equation better=deeper when doing LMR?bob wrote: Best-first search is a good example of the correct use of the term "widening" as you can expand any node you want, at any time you want. Depth-first doesn't fit this description very well.
I think it was proven already in 1996 (Aske Plaat) that it isn't...
So the two are completely different approaches, and since Berliner (and maybe conspiracy numbers search since his stuff) I have not seen anyone expand a tree in best-first form. Particularly since alpha/beta does not apply to best-first at all.