pygambit.gambit.MixedAction#

class pygambit.gambit.MixedAction#

A probability distribution over a player’s actions at an information set.

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 information set is identified by the history that was resolved to reach it, accessible via history.

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 distribution via MixedBehaviorProfile.__setitem__ instead. infoset (an Infoset) replaced by history (the History of the node that was resolved to identify the information set).

Methods

Attributes

history

The History of the node that was resolved to identify this information set.