Chadwick Gambit: Software Tools for Game Theory

pygambit.nash.NashComputationResult#

class pygambit.nash.NashComputationResult(game: ~pygambit.gambit.Game, method: str, rational: bool, use_strategic: bool, equilibria: ~typing.List[~pygambit.gambit.MixedStrategyProfile] | ~typing.List[~pygambit.gambit.MixedBehaviorProfile], parameters: dict = <factory>)#

Represents the result of a method which computes Nash equilibria in a game.

game#

The game on which the method was run.

Type:

Game

method#

A string indicating the name of the method used.

Type:

str

rational#

Whether the calculation used exact rational arithmetic (True) or floating-point (False).

Type:

bool

use_strategic#

Whether the method solved using the strategic representation (True) or the extensive representation (False).

Type:

bool

equilibria#

The list of equilibrium profiles computed.

Type:

MixedStrategyEquilibriumSet or MixedBehaviorEquilibriumSet

parameters#

A dictionary recording any additional algorithm parameters used.

Type:

dict

Methods

Attributes

game

method

rational

use_strategic

equilibria

parameters