Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add self playing CFR+ agent and historian #92

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elliottneilclark
Copy link
Owner

@elliottneilclark elliottneilclark commented Feb 21, 2024

feat: counter factual regregret minimization historian

This PR adds a historian for a single agent that follows along creating a CFR tree for the current game path. This needs to be expanded but should serve as a starting place.

@elliottneilclark elliottneilclark changed the title CFR Historian Add self playing CFR+ agent and historian Feb 28, 2024
@elliottneilclark
Copy link
Owner Author

The current status is that this is making progress, but I need to see why it fails when the state is changed during exploration.

Summary:
- Add CFR game state tree that uses a vec as an allocation arena.
- Add a historian that watches actions and moves the cfr tree along
- Add an agent that uses the tree to create new actions.

Test Plan:
- Added a test.
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.

None yet

1 participant