Author: Uri Blass
Date: 08:22:24 09/14/04
Go up one level in this thread
On September 14, 2004 at 10:35:37, Jeff GAZET wrote:
>Good morning,
>
>in the main search, before the moves loop, i have the basic "In Check" extension
>(which add one ply).
>If there is only one legal move and the king is in check, this is interesting to
>extend one more ply. But i read that this is a bad idea to extend more than one
>ply, so i limit to one ply max.
This limit is not a good idea and you can extend more than one ply but less than
2 plies by having fractional extensions.
>Then, "Single-response extension" is useless in this case :
>
>search(depth,alpha,beta)
> {
> int extend=0;
> ...
> if(InCheck=incheck(side)) extend+=ONEPLY;
> if(InCheck && side_has_only_one_legal_move) extend+=ONEPLY;
>
> // limit extensions
> if(extend>ONEPLY) extend=ONEPLY;
>
> for(each move) {...}
> ...
> }
>
>How is it possible to use both "Incheck" and "Single-response" extensions ?
>
>Thanks.
People who use both have fractional extensions.
they may extend checks by less than one ply or extend single reply by more than
one ply.
Uri
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.