Bad architecture

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Bad architecture

Post by Henk »

Quiescence search should be an interface object if you do object oriented programming.
Time to rewrite.

For how can you test Quiescence search in isolation?
Yes test it on depth 0 but then you still pass main search.

Other argument is to make it possible to replace it easily using another strategy.

Evaluation is an interface object too but that is old news.
Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Re: Bad architecture

Post by Henk »

Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Re: Bad architecture

Post by Henk »

In my implementation Quiescence search using time control and time management to return immediately when time is up.
I don't know if that is really necessary. But it can prevent from losing on time.
jackd
Posts: 25
Joined: Mon Dec 10, 2018 2:45 pm
Full name: jack d.

Re: Bad architecture

Post by jackd »

quiescence search is just normal search, but only searching the important moves and getting standpat scores.