pub fn move_scores<'a, T: Game<Player = impl TwoPlayer> + Eq + Hash>(
game: &'a T,
transposition_table: &'a mut dyn TranspositionTable<T>,
) -> impl Iterator<Item = Result<(T::Move, isize), T::MoveError>> + 'a
Expand description
Utility function to get a list of the move scores of a certain game. Since its evaluating the same game, you can use the same transposition table.
If you want to evaluate the score of a board as a whole, use the solve
function.
ยงReturns
An iterator of tuples of the form (move, score)
.