pygambit.gambit.Game.get_outcome_payoffs#

Game.get_outcome_payoffs(label: str) PayoffVector#

Returns the payoff to each player at the outcome labeled label.

Added in version 17.0.0.

Parameters:

label (str) – The label of the outcome.

Return type:

PayoffVector

Raises:
  • KeyError – If no outcome has label label.

  • TypeError – If label is not a str.

  • ValueError – If label is an empty string or all whitespace.

See also

set_outcome_payoffs

Set the payoffs at an outcome.

get_payoffs

Get the payoffs at a pure-strategy contingency.