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
+3 -1
View File
@@ -10,6 +10,7 @@ public readonly record struct SolverConfig
public float MaxScoreWeightingConstant { get; init; }
public float ExplorationConstant { get; init; }
public int MaxStepCount { get; init; }
public int MaxRolloutStepCount { get; init; }
public int ThreadCount { get; init; }
public SolverConfig()
@@ -17,8 +18,9 @@ public readonly record struct SolverConfig
Iterations = 300000;
ScoreStorageThreshold = 1f;
MaxScoreWeightingConstant = 0.1f;
ExplorationConstant = 4f;
ExplorationConstant = 2;
MaxStepCount = 25;
MaxRolloutStepCount = 99;
ThreadCount = Environment.ProcessorCount;
}
}