Module inanis::evaluation::mobility
source · Structs§
Functions§
- Evaluates mobility and part of the king safety on the
board
and returns score from the white color perspective (more than 0 when advantage, less than 0 when disadvantage). This evaluator does two things at once: first, counts all possible moves of knight, bishop, rook, queen (pawns and king are too slow and not very important), and second, fillswhite_aux
andblack_aux
with additional data used in other evaluators. - Gets mobility data for
board
,color
and fillsaux
with additional data used in other evaluators.