Publius - public domain teaching engine

Discussion of chess software programming and technical issues.

Moderator: Ras

Bart Weststrate
Posts: 21
Joined: Fri Mar 18, 2016 3:34 pm

Re: Publius - public domain teaching engine

Post by Bart Weststrate »

PK wrote: Mon Oct 20, 2025 1:15 am Thanks for the kind words, Bart. I hope it takes much longer than in my previous engines to make this codebase write-only.
Pawel can you elaborate some more about this:

// Because pv-nodes don't use some pruning or
// reduction techniques, we cannot always reuse
// scores from the zero window nodes. Despite the
// same nominal depth, they represent more shallow,
// less precise search.
if (!isPv || (score > alpha && score < beta) ) {
if (!isRoot && !isExcluded)
return score;

I'm not sure if i get the concept. On !isPV (beta = alfa+1) nodes you can take any cutoff (lowerbound, upperbound, exact) and if PVnode you can only take the exact cutoff? Thanks in advance.
PK
Posts: 912
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

Re: Publius - public domain teaching engine

Post by PK »

On !isPV (beta = alfa+1) nodes you can take any cutoff (lowerbound, upperbound, exact) and if PVnode you can only take the exact cutoff?
Precisely. In the pv-nodes Publius switchess off many pruning techniques and uses smaller late move reduction. This means I sannot seriously assume that the same nominal depth from different node type actually means the same depth.