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 and black_aux, are calculated during mobility evaluation and are used here to get the final score.
  • Evaluates kibg safety on the board for the specified color``, using white_auxandblack_aux`.
  • Gets safety data for board, color, our_aux and their_aux.