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

Shared pointer graph refactoring #114

Merged
merged 1 commit into from
May 21, 2021
Merged

Conversation

QueensGambit
Copy link
Owner

@QueensGambit QueensGambit commented May 21, 2021

  • refactored get_new_child_to_evaluate(), add_new_node_to_tree(), random_playout()
  • removed ugly nullptr checks
TC: 3s + 0.1s
Score of ClassicAra 0.9.3-Dev - 6-Men-TB - - 3 Threads vs ClassicAra
0.9.3-Dev -No TB - Default - 3 Threads: 62 - 68 - 174 [0.490]
Elo difference: -6.9 +/- 25.5, LOS: 29.9 %, DrawRatio: 57.2 %

304 of 1000 games finished.

Hopefully, 100% stable now.

random_playout()
remove ugly nullptr checks

TC: 3s + 0.1s
Score of ClassicAra 0.9.3-Dev - 6-Men-TB - - 3 Threads vs ClassicAra
0.9.3-Dev -No TB - Default - 3 Threads: 62 - 68 - 174 [0.490]
Elo difference: -6.9 +/- 25.5, LOS: 29.9 %, DrawRatio: 57.2 %

304 of 1000 games finished.
@QueensGambit QueensGambit merged commit f519fa5 into master May 21, 2021
QueensGambit added a commit that referenced this pull request May 29, 2021
added atomic shared_ptr operation
related PRs #114, #97
@QueensGambit QueensGambit deleted the shared_ptr_refactor branch June 30, 2021 11:44
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.

1 participant