Ply depth mean

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
nanochess
Posts: 64
Joined: Thu Feb 19, 2009 4:34 pm
Location: Mexico, Mexico
Contact:

Ply depth mean

Post by nanochess » Sun Aug 02, 2009 2:47 am

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: 146
Joined: Wed Jun 06, 2007 8:01 am
Contact:

Re: Ply depth mean

Post by xsadar » Sun Aug 02, 2009 2:56 am

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 7:59 pm

Re: Ply depth mean

Post by MattieShoes » Sun Aug 02, 2009 5:25 am

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: 20555
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Ply depth mean

Post by bob » Sun Aug 02, 2009 5:28 am

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...

Post Reply