pygambit.gambit.MixedStrategyProfile.__iter__#
- MixedStrategyProfile.__iter__()#
Iterate over the mixed strategies in the profile, one per player.
Changed in version 17.0.0: Previously yielded (Strategy, probability) pairs flattened across every player’s strategies; now yields the MixedStrategy for each player, matching what mixed_strategies() returned.
- Yields:
strategy (MixedStrategy) – The player’s mixed strategy specified in the profile
