pygambit.gambit.MixedBehavior#

class pygambit.gambit.MixedBehavior#

A set of probability distributions describing a player’s behavior.

An immutable snapshot taken from a MixedBehaviorProfile at 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 mixed actions, and can no longer be assigned into. Set a player’s whole behavior via MixedBehaviorProfile.__setitem__ instead.

Methods

Attributes

player

The label of the player for whom this mixed behavior strategy is defined.