Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.mixed_behavior_profile#

Game.mixed_behavior_profile(rational=False) MixedBehaviorProfile#

Create a behavior strategy profile over the game.

The profile is initialized to uniform randomization for each player over their actions at each information set.

Parameters:

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

Raises:

UndefinedOperationError – If the game does not have a tree representation.