Module inanis::evaluation::pst
source · Modules
Functions
- Evaluates piece-square table value on the
board
and returns score from the white color perspective (more than 0 when advantage, less than 0 when disadvantage). This evaluator sums all values of the pieces for the specified squares, using incremental counters inboard
. - Recalculates incremental counters on the
board
. This function should be called only once during board initialization, as it’s too slow in regular search.