Module inanis::evaluation::safety
source · Structs§
Functions§
- Evaluates king safety on the
board
and returns score from the white color perspective (more than 0 when advantage, less than 0 when disadvantage). Both additional parameters,white_aux
andblack_aux
, are calculated during mobility evaluation and are used here to get the final score. - Evaluates kibg safety on the
board
for the specifiedcolor``, using
white_auxand
black_aux`. - Gets safety data for
board
,color
,our_aux
andtheir_aux
.