pygambit.gambit.MixedAction.__iter__#

MixedAction.__iter__()#

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

Added 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