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