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

Rebuild/Reallocate/Resolve tree after load from disk #2

Open
bkushigian opened this issue Aug 9, 2024 · 0 comments
Open

Rebuild/Reallocate/Resolve tree after load from disk #2

bkushigian opened this issue Aug 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bkushigian
Copy link
Owner

Currently we can perform a partial save (e.g., a flop or turn save) and reload it, but are unable to load/resolve unsaved nodes. This is crucial for making postflop-solver a full-fledged commercial grade solver.

This should be fairly straight forward to implement. We would need to

  1. Allocate global storage in the PostFlopGame and copy flop/turn data
  2. Allocate node_arena and rerun build_tree_recurisive. This will set up proper child/parent relationships between PostFlopNodes
  3. Add a new solve_from_node function that lets us perform a partial solve
  4. Find the boundary of for unsolved nodes and run solve_from_node on each
@bkushigian bkushigian added the enhancement New feature or request label Aug 9, 2024
@bkushigian bkushigian self-assigned this Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant