Author: Robert Hyatt
Date: 11:15:48 01/21/04
Go up one level in this thread
On January 21, 2004 at 05:19:57, Sune Fischer wrote:
>On January 20, 2004 at 21:33:29, Robert Hyatt wrote:
>
>>> if (RepetitionCheck(tree,ply,wtm)) {
>>> value=DrawScore(wtm);
>>> if (value < beta) SavePV(tree,ply,value,0);
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>>
>>That is the code I supplied yesterday. I don't terminate anything. All I
>>do is store the highest ply in the PV.
>
>LOL, which is precisely the termination I'm talking about :)
>
>What else did you think I meant by termination, that I was just rambling like a
>madman? :)
Termination == end sentinel.
Stuffing something on the end of the PV to say "this is the end."
I don't do that. I just have a length field in the PV structure...
I don't like the sentinel idea as it makes using memcpy() impossible unless
you copy the _entire_ PV array (max length) which I never do. I copy _exactly_
what is needed back to the previous ply, no more or no less.
>
>>
>>Fail-highs, Daniel-san.
>>
>>:)
>
>Hai sensei
>
>-S.
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.