gambit
gambit copied to clipboard
Absent-Mindedness Checker
Closes #578
This PR implements detection of absent-mindedness in extensive-form games, where a player can re-enter an information set on a single path of play.
Changes:
- Augments the
BuildInfosetParents()traversal to detect and record absent-minded information sets. - Adds
IsAbsentMinded()in C++ and a correspondingis_absent_mindedproperty in Python, mirroring the logic ofIsPerfectRecall(). - Includes a new test suite to verify the implementation.
- Updates the ChangeLog and api.rst.
Per off-line discussion, we're going to make absent-mindedness a property of information sets rather than games; changes for this are in progress.