More heuristic improvements

This commit is contained in:
Asriel Camora
2023-07-08 14:38:35 +02:00
parent 436858e65c
commit 2e2db97ca7
5 changed files with 88 additions and 48 deletions
+4 -2
View File
@@ -11,7 +11,8 @@ public readonly record struct SolverConfig
public float ExplorationConstant { get; init; }
public int MaxStepCount { get; init; }
public int MaxRolloutStepCount { get; init; }
public int ThreadCount { get; init; }
public int ForkCount { get; init; }
public bool StrictActions { get; init; }
public SolverConfig()
{
@@ -21,6 +22,7 @@ public readonly record struct SolverConfig
ExplorationConstant = 4;
MaxStepCount = 25;
MaxRolloutStepCount = MaxStepCount;
ThreadCount = Environment.ProcessorCount;
ForkCount = Environment.ProcessorCount;
StrictActions = true;
}
}