pygambit.gambit.MixedBehaviorProfile.node_value#
- MixedBehaviorProfile.node_value(player: Player | str, node: Node | str) float | Rational #
Returns the expected payoff to player conditional on play reaching node, if all players play according to the profile.
- Parameters:
- Raises:
MismatchError – If player is a
Player
from a different game or node is aNode
from a different game.KeyError – If player is a string and no player in the game has that label, or node is a string and no node in the game has that label.
ValueError – If player resolves to the chance player