Fix concurrency, add forked simulations

This commit is contained in:
Asriel Camora
2023-07-07 18:13:27 +02:00
parent 7d8fc9ff8f
commit 3ab50d389e
6 changed files with 84 additions and 14 deletions
+5
View File
@@ -33,6 +33,11 @@ public sealed class SolverConcurrent : ISolver
{
nodeVisits = node.ChildScores.GetVisits(at.Value);
node = node.ChildAt(at.Value);
if (node == null)
{
node = rootNode;
nodeVisits = rootNodeVisits;
}
}
else
{