Author: Andrew Williams
Date: 05:45:15 04/23/04
Go up one level in this thread
On April 23, 2004 at 08:38:23, Jeff GAZET wrote:
>>That's not what I meant. This is what I understand you are doing:
>>
>>mv = get_next_move();
>>make_move(mv);
>>if(it_is_a_promotion_move(mv)) {
>> depth++
>>}
>>score = -alphabeta(depth-1, -beta, -alpha);
>>depth--; // DO YOU HAVE THIS LINE?
>>
>>The last line (depth--) is VERY important.
>> ...
>>Andrew
>
>i did'nt do that. But should'nt it be like this ?
>
>mv = get_next_move();
>make_move(mv);
>if(it_is_a_promotion_move(mv)) {depth++}
>score = -alphabeta(depth-1, -beta, -alpha);
>if(it_is_a_promotion_move(mv)) {depth--}
>
Yes, sorry. That's what it should say.
>Well, in both cases, my engines gets very slow on this position :
>1r5N/2PPPP1P/6r1/8/B4p2/4pPk1/3pRpP1/R6K w - -
>
>Can i do this ?
>if(it_is_a_promotion_move(mv) && depth<=1) {depth++} ?
I think I agree with Tord, and I wonder if you really want to expand all
promotion moves. Mine doesn't extend the promoting move, although it extends a
pawn move to the seventh rank.
Andrew
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.