pygambit.gambit.Game.minimal_subgame#

Game.minimal_subgame(infoset: Infoset | str) Subgame#

Returns the smallest subgame containing infoset.

Parameters:

infoset (Infoset or str) – The information set to query.

Returns:

  • Subgame – The smallest subgame containing infoset.

  • .. versionadded:: 16.7.0

Raises:
  • UndefinedOperationError – If the game does not have a tree representation.

  • MismatchError – If infoset is from a different game.