pygambit.gambit.MixedStrategy.__iter__#
- MixedStrategy.__iter__()#
Iterate over the probabilities assigned to strategies by the mixed strategy.
Added in version 16.2.0.
- Yields:
strategy (Strategy) – A strategy for the player
probability (float or Rational) – The probability the mixed strategy assigns to the strategy being played
