quiescence & only generating appropriate moves

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

flok

quiescence & only generating appropriate moves

Post by flok »

Hi,

I hacked my move-generator to only generate catch/promote moves for quiescence search. At itself this works but this gives problems for the evaluation; now the mobility is all messed up and thus it generates silly scores and moves.
What am I missing here?
User avatar
hgm
Posts: 27810
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: quiescence & only generating appropriate moves

Post by hgm »

Mobility should not be affected by whether you plan to search only captures or not. You should calculate it as always.
syzygy
Posts: 5566
Joined: Tue Feb 28, 2012 11:56 pm

Re: quiescence & only generating appropriate moves

Post by syzygy »

You mean "capture", not "catch".

You are calculating mobility by generating all moves and counting them. Now it is messed up because you're not generating all moves anymore. The solution is to calculate / estimate mobility in a more efficient way.
flok

Re: quiescence & only generating appropriate moves

Post by flok »

HGM, RDM, thanks