pub fn move_scores<'a, T: Game<Player = impl TwoPlayer + 'static> + Eq + Hash>(
game: &'a T,
transposition_table: &'a mut dyn TranspositionTable<T>,
stats: Option<&'a Stats<T::Player>>,
) -> impl Iterator<Item = Result<(T::Move, isize), GameSolveError<T>>> + '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)
.