pygambit.gambit.MixedStrategy.__iter__#
- MixedStrategy.__iter__() Iterator[Tuple[Strategy, ProfileDType], None, None] #
Iterate over the probabilities assigned to strategies by the mixed strategy.
New 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