Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.MixedStrategyProfile.randomize#

MixedStrategyProfile.randomize(denom: int | None = None) None#

Randomizes the probabilities in the profile. These are generated as uniform distributions over each mixed strategy. If denom is specified, all probabilities are divisible by denom, that is, the distribution is uniform over a discrete grid of mixed strategies.