Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.delete_outcome#

Game.delete_outcome(outcome: Outcome | str) None#

Delete an outcome from the game.

If this game is an extensive game, any node at which this outcome is attached has its outcome reset to null. If this game is a strategic game, any contingency at which this outcome is attached as its outcome reset to null.

Parameters:

outcome (Outcome or str) – The outcome to delete from the game

Raises:

MismatchError – If outcome is an Outcome from another game.