uci info seldepth?

Discussion of chess software programming and technical issues.

Moderator: Ras

micron
Posts: 155
Joined: Mon Feb 15, 2010 9:33 am
Location: New Zealand

uci info seldepth?

Post by micron »

What does "selective search depth" mean in the UCI specification?

Code: Select all

* seldepth <x>
		selective search depth in plies,
		if the engine sends seldepth there must also be a "depth" present in the same string.
Robert P.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: uci info seldepth?

Post by bob »

micron wrote:What does "selective search depth" mean in the UCI specification?

Code: Select all

* seldepth <x>
		selective search depth in plies,
		if the engine sends seldepth there must also be a "depth" present in the same string.
Robert P.
Vague/ambiguous term. It could mean any of the following, depending on the program used:

(1) max depth reached during a search;

(2) number of selective plies tacked on to the end of the normal search;

(3) a random number in the case of a "certain" program. :)

It conveys very little useful information...
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: uci info seldepth?

Post by Mincho Georgiev »

bob wrote:
micron wrote:What does "selective search depth" mean in the UCI specification?

Code: Select all

* seldepth <x>
		selective search depth in plies,
		if the engine sends seldepth there must also be a "depth" present in the same string.
Robert P.
Vague/ambiguous term. It could mean any of the following, depending on the program used:

(1) max depth reached during a search;

(2) number of selective plies tacked on to the end of the normal search;

(3) a random number in the case of a "certain" program. :)

It conveys very little useful information...
Agreed! And for that reason my implementation is simple and foolish and the only benefit from it is to show with no need to count by an eye the all plies of the displayed line. I.E.: if current depth is 10 and the line is 15 plies long, 10/15 (depth/seldepth) is displayed.
User avatar
Steve Maughan
Posts: 1297
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: uci info seldepth?

Post by Steve Maughan »

I simply do the maximum depth of search. As other have pointed out it's quite a meaningless term for users. But I found it interesting when developing Monarch to see when an extension explodes.

Steve
micron
Posts: 155
Joined: Mon Feb 15, 2010 9:33 am
Location: New Zealand

Re: uci info seldepth?

Post by micron »

Right, so it can mean anything the programmer wants. Many GUIs don't even display the seldepth value.

Robert P.
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: uci info seldepth?

Post by JuLieN »

In Prédateur I understood this as "the maximal depth reached during the search".

So, when Arena displays "11/23" in the depth column it means : Fully searched up to the 11th ply, with some extension(s) reaching up to the 23rd ply.

I have second thought, though, about this UCI element, too, because two other interpretations could be made :
1) general seldepth
2) seldepth for the PV

The second one would be the most interesting information to get but, as the protocol says nothing regarding this point, I go for 1). At least it's easy to implement : you just set a max_depth counter to 0 when starting your search and increase it to current_depth when this one is bigger.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]