pygambit.gambit.MixedAction.__getitem__#
- MixedAction.__getitem__()#
Returns the probability that the action with label action is played.
- Parameters:
action (str) – The label of the action to look up.
- Returns:
The probability assigned to the action.
- Return type:
float or Rational
- Raises:
KeyError – If no action at this information set has the label action.
