pygambit.nash.NashComputationResult#

class pygambit.nash.NashComputationResult(game: ~pygambit.gambit.Game, method: str, rational: bool, use_strategic: bool, equilibria: list[~pygambit.gambit.MixedStrategyProfile] | 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