pygambit.gambit.MixedBehaviorProfile.__iter__#

MixedBehaviorProfile.__iter__()#

Iterate over the probabilities assigned to actions by the profile.

Added in version 16.2.0.

Yields:
  • action (Action) – An action in the game

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