when/Where should check extension be applied ?

Discussion of chess software programming and technical issues.

Moderator: Ras

MahmoudUthman
Posts: 237
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(depth<1 ) return qsearch();
probeTT()
TTCuts
Reverse Futility Pruning
Null Move Pruning

MoveLoop
{}
}
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: 3527
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