Ply depth mean

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 5:34 pm
Location: Mexico, Mexico

Ply depth mean

Post by nanochess »

Hi, I have a little doubt about ply depth means. My current view of it is as 1-ply depth exploration means one legal move of the computer without checking opponent moves, 2-ply depth means one move of computer and one move of opponent, 3-ply depth one computer, one opponent, one computer.

Also I'm reporting this number on Winboard POST information, is correct? or I should be saying 0-ply, 1-ply, 2-ply and reporting 0, 1, 2 instead of 1,2,3.
User avatar
xsadar
Posts: 147
Joined: Wed Jun 06, 2007 10:01 am
Location: United States
Full name: Mike Leany

Re: Ply depth mean

Post by xsadar »

nanochess wrote:Hi, I have a little doubt about ply depth means. My current view of it is as 1-ply depth exploration means one legal move of the computer without checking opponent moves, 2-ply depth means one move of computer and one move of opponent, 3-ply depth one computer, one opponent, one computer.

Also I'm reporting this number on Winboard POST information, is correct? or I should be saying 0-ply, 1-ply, 2-ply and reporting 0, 1, 2 instead of 1,2,3.
Yes, you have a correct understanding of what a ply refers to. You should report depth as 1, 2, 3, ... plies. Zero plies would mean you didn't search anything, so you wouldn't have any search information to post.
MattieShoes
Posts: 718
Joined: Fri Mar 20, 2009 8:59 pm

Re: Ply depth mean

Post by MattieShoes »

xsadar wrote:
nanochess wrote:Hi, I have a little doubt about ply depth means. My current view of it is as 1-ply depth exploration means one legal move of the computer without checking opponent moves, 2-ply depth means one move of computer and one move of opponent, 3-ply depth one computer, one opponent, one computer.

Also I'm reporting this number on Winboard POST information, is correct? or I should be saying 0-ply, 1-ply, 2-ply and reporting 0, 1, 2 instead of 1,2,3.
Yes, you have a correct understanding of what a ply refers to. You should report depth as 1, 2, 3, ... plies. Zero plies would mean you didn't search anything, so you wouldn't have any search information to post.
Well, when ply==0, typically an engine runs a quiesence search, which might search nodes... If there are no q-search moves possible, then it wouldn't... Not trying to be pedantic, just pointing out that searching 0 ply might give a different value at the root than simply calling eval. :-)
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Ply depth mean

Post by bob »

nanochess wrote:Hi, I have a little doubt about ply depth means. My current view of it is as 1-ply depth exploration means one legal move of the computer without checking opponent moves, 2-ply depth means one move of computer and one move of opponent, 3-ply depth one computer, one opponent, one computer.

Also I'm reporting this number on Winboard POST information, is correct? or I should be saying 0-ply, 1-ply, 2-ply and reporting 0, 1, 2 instead of 1,2,3.
Your definitions are correct...