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

reduce session state divisions #1

Closed
CrepeGoat opened this issue May 22, 2020 · 0 comments · Fixed by #8
Closed

reduce session state divisions #1

CrepeGoat opened this issue May 22, 2020 · 0 comments · Fixed by #8

Comments

@CrepeGoat
Copy link
Owner

Currently when initiating a new session, the program branches into a unique session state for every possible combination of stone quantity (e.g., 3 red 1 blue 1 green 0 gray), of which there are precisely 56. However, many of these can be lumped together w/o loss of generality, based on the summoner's actions. (E.g., how many blue/green/gray stones there are doesn't affect the summoner's decision, if the summoner is only interested in summoning red; in this case, the (4 red 1 blue) state can be lumped together w/ the (4 red 1 green) and (4 red 1 gray) states.)

Reducing the number of branches should greatly increase computation speed, esp. for larger orb counts.

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 a pull request may close this issue.

1 participant