pygambit.gambit.MixedBehavior.__iter__#
- MixedBehavior.__iter__() Iterator[Tuple[Action, ProfileDType], None, None] #
Iterate over the probabilities assigned to actions by the mixed behavior.
New in version 16.2.0.
- Yields:
action (Action) – An action for the player
probability (float or Rational) – The probability the behavior assigns to the action being played