pygambit.gambit.MixedStrategyProfile.__getitem__#
- MixedStrategyProfile.__getitem__()#
Returns a snapshot of the mixed strategy for the player with label player, as of now; it will not reflect any later changes to this profile.
- Parameters:
player (str) – The label of the player to look up.
- Raises:
KeyError – If no player in the game has the label player.
TypeError – If player is not a str.
