Page 1 of 1

calculating seldepth

Posted: Sat Apr 27, 2019 2:38 pm
by AxolotlFever
Hi all,

One aspect of the uci protocol I am not 100% sure about is seldepth. How do you calculate this? Is it the maximum depth qsearch has reached? How does it combine with extensions?

Side question: should the depth we send in info string should be the iterative deepening depth, or should we also account for extensions?

Thank you very much,
Louis

Re: calculating seldepth

Posted: Sat Apr 27, 2019 5:24 pm
by abulmo2
AxolotlFever wrote: Sat Apr 27, 2019 2:38 pm One aspect of the uci protocol I am not 100% sure about is seldepth. How do you calculate this? Is it the maximum depth qsearch has reached?
In Amoeba, I compute it as the maximum depth reached in qsearch.
Side question: should the depth we send in info string should be the iterative deepening depth?
I use the iterated depth.
I also agree that both numbers, depth & seldepth, are barely related to the real depth reached in average during the search, due to extensions & reductions.

Re: calculating seldepth

Posted: Sat Apr 27, 2019 11:03 pm
by elcabesa
some engine calculate seldepth as the max depth reached in search/qsearch, some other (i.e. stockfish) calculate the max depth reached by a PV node