Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.MixedAction.__iter__#

MixedAction.__iter__() Iterator[Tuple[Action, ProfileDType], None, None]#

Iterate over the probabilities assigned to actions by the mixed action.

New in version 16.2.0.

Yields:
  • action (Action) – An action at the information set

  • probability (float or Rational) – The probability the mixed action assigns to the action being played