pygambit.gambit.MixedBehaviorProfile.infoset_value#
- MixedBehaviorProfile.infoset_value(infoset: Infoset | str) float | Rational #
Returns the expected payoff to the player conditional on reaching an information set, if all players play according to the profile.
- Parameters:
infoset (Infoset or str) – The information set to get the payoff for. If a string is passed, the information set is determined by finding the information set with that label, if any.
- Raises:
MismatchError – If infoset is an
Infoset
from a different game.KeyError – If infoset is a string and no information set in the game has that label.
ValueError – If infoset resolves to an infoset that belongs to the chance player