pygambit.gambit.MixedStrategy#
- class pygambit.gambit.MixedStrategy#
A probability distribution over a player’s strategies.
An immutable snapshot taken from a
MixedStrategyProfileat retrieval time: it does not reflect later changes to the profile, and cannot itself be modified. The player is accessible via player.Changed in version 17.0.0: No longer a live view onto the profile: holds its own copy of the probabilities, and can no longer be assigned into. Set a player’s whole distribution via
MixedStrategyProfile.__setitem__instead.Methods
Attributes
playerThe label of the player for whom this mixed strategy is defined.
