X5QZYNRWTJ34XIIFY23MMQOGV6KASGYSRUMWL3U3A7GSV5JJERTAC
double bScore = b.value
.ucb1(player, maxScore, _moveProbabilitiesFromNN[b.key] ?? 1.0);
double aScore = a.value
.ucb1(player, maxScore, _moveProbabilitiesFromNN[a.key] ?? 1.0);
double bScore =
b.value.ucb1(player, _moveProbabilitiesFromNN[b.key] ?? 1.0);
double aScore =
a.value.ucb1(player, _moveProbabilitiesFromNN[a.key] ?? 1.0);
gameState!.scores.forEach((player, score) {
currentNode!.maxScoreByPlayer.update(
player, (value) => score > value ? score : value,
ifAbsent: () => score);
currentNode.minScoreByPlayer.update(
player, (value) => score < value ? score : value,
ifAbsent: () => score);
});