pygambit.gambit.BayesianActionGraphGame#

class pygambit.gambit.BayesianActionGraphGame#

A Game with a Bayesian action-graph game representation.

The game is presented as what it is: a simultaneous-move Bayesian game. Its players are the Bayesian players, and each player’s types are presented as information sets, labelled by position. Members of Game that concern strategies have no meaning for a Bayesian game and raise UnsupportedForBayesianGameError.

Changed in version 17.0.0: Players are the Bayesian players rather than one player per type, and members that concern strategies raise UnsupportedForBayesianGameError.

Methods

get_infosets(player)

Returns the labels of the information sets of player.

get_max_payoff(**kwargs)

Not supported for Bayesian games.

get_min_payoff(**kwargs)

Not supported for Bayesian games.

get_outcome_payoffs(label)

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

get_outcomes()

Returns the labels of the outcomes in the game.

get_payoffs(**kwargs)

Not supported for Bayesian games.

get_strategies(**kwargs)

Not supported for Bayesian games.

has_perfect_recall(**kwargs)

Not supported for Bayesian games.

mixed_behavior_profile([data, rational])

Create a mixed behavior profile over the game.

mixed_strategy_profile(**kwargs)

Not supported for Bayesian games.

random_behavior_profile([denom, gen])

Create a BAGGMixedBehaviorProfile on the game, with probabilities drawn from the uniform distribution over the set of mixed behavior profiles.

random_strategy_profile(**kwargs)

Not supported for Bayesian games.

relabel_players(**kwargs)

Not supported for Bayesian games.

set_outcome_payoffs(label, payoffs)

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

strategy_support_profile(**kwargs)

Not supported for Bayesian games.

to_arrays(**kwargs)

Not supported for Bayesian games.

to_efg(**kwargs)

Not supported for Bayesian games.

to_html(**kwargs)

Not supported for Bayesian games.

to_latex(**kwargs)

Not supported for Bayesian games.

to_nfg(**kwargs)

Not supported for Bayesian games.

Attributes

contingencies

Not supported for Bayesian games.

description

Get or set the description of the game.

is_const_sum

Not supported for Bayesian games.

is_perfect_recall

Whether the game is perfect recall.

max_payoff

The maximum payoff to any player in any play of the game.

min_payoff

The minimum payoff to any player in any play of the game.

players

The set of players in the game.

title

Get or set the title of the game.