pygambit.gambit.ExtensiveGame.make_outcome_null#
- ExtensiveGame.make_outcome_null(location: Selector | GroupedSelector) None#
Reset the outcome at location to the null outcome.
location is a Selector (an H-built expression, evaluated against this game and treated as a flat set of nodes) or a GroupedSelector (an H-built .by(…) expression, whose groups are pooled together).
Any outcome all of whose references are among location is removed from the game.
Added in version 17.0.0.
- Parameters:
location (Selector or GroupedSelector) – The nodes to reset to the null outcome. Nonempty; each node may be referenced only once.
- Raises:
TypeError – If location is not a Selector or GroupedSelector.
ValueError – If location is empty or contains a repeat.
