pygambit.gambit.MixedStrategyProfile#
- class pygambit.gambit.MixedStrategyProfile#
Represents a mixed strategy profile over the strategies in a Game.
Methods
Creates a mixed behavior profile which is equivalent to this mixed strategy profile.
copy()Creates a copy of the mixed strategy profile.
Returns the Lyapunov value (see [McK91]) of the strategy profile.
Create a profile with the same strategy proportions as this one, but normalised so probabilities for each player sum to one.
payoff(player)Returns the expected payoff to a player if all players play according to the profile.
randomize([denom])Randomizes the probabilities in the profile.
regret(strategy)Returns the regret to playing strategy, if all other players play according to the profile.
strategy_value(strategy)Returns the expected payoff to playing the strategy, if all other players play according to the profile.
strategy_value_deriv(strategy, other)Returns the derivative of the payoff to playing strategy, with respect to the probability that other is played.
Attributes
The game on which this mixed strategy profile is defined.
