Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Newbie problem collecting PV

Author: Michel Langeveld

Date: 07:06:33 02/15/04

Go up one level in this thread


On February 15, 2004 at 09:23:35, Andrew Wagner wrote:

>Hi all,
>
>   Pardon an ignorant newbie asking a dumb question, but I'm having trouble
>collecting the PV in my new engine. It returns an eval fine, but not the moves.
>The code for my alpha-beta function is at http://www.lechess.com/pv.txt and it's
>based on Bruce Moreland's pv-collecting alpha-beta algorithm
>(http://www.seanet.com/~brucemo/topics/pv.htm). My code is written in vb.net,
>but it should be relatively easy to read. This recursive stuff is pretty hard
>for me, and I don't understand what he's doing with his lines. Any pointers
>(pardon the pun)?

I think you need to do something like:

NewLine = line
NewLine.Add(mMove_Stack(i))
NewLine.cNumMoves  = line.cNumMoves + 1



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.