Tweak byregot scoring system, add bonuses to config

This commit is contained in:
Asriel Camora
2023-07-13 12:27:45 +02:00
parent 7787ae32d5
commit 9a75542e4b
8 changed files with 80 additions and 75 deletions
+12
View File
@@ -15,6 +15,12 @@ public readonly record struct SolverConfig
public int FurcatedActionCount { get; init; }
public bool StrictActions { get; init; }
public float ScoreProgressBonus { get; init; }
public float ScoreQualityBonus { get; init; }
public float ScoreDurabilityBonus { get; init; }
public float ScoreCPBonus { get; init; }
public float ScoreFewerStepsBonus { get; init; }
public SolverConfig()
{
Iterations = 300000;
@@ -26,5 +32,11 @@ public readonly record struct SolverConfig
ForkCount = Environment.ProcessorCount;
FurcatedActionCount = ForkCount / 2;
StrictActions = true;
ScoreProgressBonus = .20f;
ScoreQualityBonus = .65f;
ScoreDurabilityBonus = .05f;
ScoreCPBonus = .05f;
ScoreFewerStepsBonus = .05f;
}
}