Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.set_infoset#

Game.set_infoset(node: Node | str, infoset: Infoset | str) None#

Place node in the information set infoset. node must have the same number of descendants as infoset has actions.

Parameters:
  • node (Node or str) – The node to set the information set

  • infoset (Infoset or str) – The information set to join

Raises:

MismatchError – If node is a Node from a different game, or infoset is an Infoset from a different game.