count enumerated states

This commit is contained in:
Maximilian Keßler 2023-08-06 15:05:34 +02:00
parent 5ab7538506
commit 6fa4098e36
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -337,6 +337,7 @@ namespace Hanabi {
template<std::size_t num_suits, player_t num_players, std::size_t hand_size>
double HanabiState<num_suits, num_players, hand_size>::backtrack(size_t depth) {
_enumerated_states++;
if (_score == 5 * num_suits) {
return 1;
}