when/Where should check extension be applied ?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

MahmoudUthman
Posts: 234
Joined: Sat Jan 17, 2015 11:54 pm

when/Where should check extension be applied ?

Post by MahmoudUthman »

Code: Select all

search()
{
if(draw()) return draw_Value;
if&#40;depth<1 ) return qsearch&#40;);
probeTT&#40;)
TTCuts
Reverse Futility Pruning
Null Move Pruning

MoveLoop
&#123;&#125;
&#125;
should I extend At the top of the search before doing anything other than draw detection ?
or should I extend After TTCuts ? or maybe Null Move pruning , etc. ?

*by the way I only do reverse futility , nulls & non exact ttcuts in non pv nodes .
smatovic
Posts: 2663
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: when/Where should check extension be applied ?

Post by smatovic »

imo it would make sense to extend before entering qsearch,
not sure about how the extended depth effects on your ttcuts and nullmove.

--
Srdja