pygambit.nash.NashResultBase#
- class pygambit.nash.NashResultBase(*, game: Game, rational: bool, use_strategic: bool)#
Common attributes shared by every result of a method which computes Nash equilibria in a game. Each solution method returns its own dataclass, derived from this one, whose additional attributes reflect that method’s own parameters and the way it can succeed or fail.
- 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
Methods
Attributes
