pygambit.catalog.OneShotTrust#

class pygambit.catalog.OneShotTrust(*args, **kwargs)#

One-shot trust game.

Description: One-shot trust game with binary actions, originally from Kreps (1990).

The unique_NE_variant makes Trust a dominant strategy, replacing the non-singleton equilibrium component from the standard version of the game where the Buyer plays “Not Trust” and the seller can play any mixture with < 0.5 probability on Honor with a unique NE where the Buyer plays Trust and the Seller plays Abuse.

Parameters:

unique_NE_variant (bool, optional) – Whether to modify the game so that it has a unique Nash equilibrium. Defaults to False.

Returns:

The constructed extensive-form game.

Return type:

gbt.Game

Examples

>>> OneShotTrust(unique_NE_variant=False) # Constructs the standard game
>>> OneShotTrust(unique_NE_variant=True) # Constructs the game with unique NE variant

Methods

Attributes

game

Cached Game instance.

test_suite

Indicates if this game is included in the pygambit test suite.