pygambit.gambit.MixedBehavior.__iter__#

MixedBehavior.__iter__()#

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

Added in version 16.2.0.

Yields:
  • action (Action) – An action for the player

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