Skip to content

Get the action prescribed by a strategy at an information set#528

Merged
tturocy merged 1 commit intogambitproject:masterfrom
d-kad:issue_440
Jun 13, 2025
Merged

Get the action prescribed by a strategy at an information set#528
tturocy merged 1 commit intogambitproject:masterfrom
d-kad:issue_440

Conversation

@d-kad
Copy link
Copy Markdown
Contributor

@d-kad d-kad commented Jun 10, 2025

This provides an interface GameStrategyRep::GetAction to the mapping from infoset to action as part of a strategy for an extensive game.

A function .action() has been added in Python as well.

Copy link
Copy Markdown
Member

@tturocy tturocy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the inline notes, we also need an appropriate ChangeLog entry and the function needs adding to the documentation index in the appropriate place

@d-kad d-kad requested a review from tturocy June 10, 2025 15:58
@d-kad d-kad requested a review from tturocy June 11, 2025 07:09
@d-kad d-kad requested a review from tturocy June 11, 2025 19:03
This provides an interface to the mapping from strategy to actions in an extensive game:
* `GameStrategyRep::GetAction(GameInfoset)` in C++
* `Strategy.action(Infoset)` in Python`
@tturocy tturocy merged commit 918cf55 into gambitproject:master Jun 13, 2025
12 of 13 checks passed
@d-kad d-kad self-assigned this Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants