pygambit.gambit.MixedBehaviorProfile.__iter__#
- MixedBehaviorProfile.__iter__()#
Iterate over the mixed behaviors in the profile, one per player.
Changed in version 17.0.0: Previously yielded (Action, probability) pairs flattened across every player’s actions; now yields the MixedBehavior for each player, matching what mixed_behaviors() returned.
- Yields:
behavior (MixedBehavior) – The player’s mixed behavior specified in the profile
