Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.mixed_strategy_profile#

Game.mixed_strategy_profile(data=None, rational=False) MixedStrategyProfile#

Create a mixed strategy profile over the game.

If data is not specified, the mixed strategy profile is initialized to uniform randomization for each player over their strategies. If the game has a tree representation, the mixed strategy profile is defined over the reduced strategic form representation.

Parameters:
  • data – A nested list (or compatible type) with the same dimension as the strategy set of the game, specifying the probabilities of the strategies.

  • rational – If True, probabilities are represented using rational numbers; otherwise floating point numbers are used.

See also

random_strategy_profile

Create a MixedStrategyProfile with randomly-drawn probabilities.