pygambit.gambit.MixedStrategyProfile.__iter__#
- MixedStrategyProfile.__iter__()#
Iterate over the probabilities assigned to strategies by the profile.
New in version 16.2.0.
- Yields:
strategy (Strategy) – A strategy in the game
probability (float or Rational) – The probability the profile assigns to the strategy being played