Rename Furcated to Genetic

This commit is contained in:
Asriel Camora
2024-07-01 09:48:35 -07:00
parent 834dc72f69
commit 1fce27114f
4 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ public sealed class Solver : IDisposable
SolverAlgorithm.OneshotForked => (SearchOneshotForked, false),
SolverAlgorithm.Stepwise => (SearchStepwise, true),
SolverAlgorithm.StepwiseForked => (SearchStepwiseForked, true),
SolverAlgorithm.StepwiseFurcated => (SearchStepwiseFurcated, true),
SolverAlgorithm.StepwiseGenetic => (SearchStepwiseGenetic, true),
_ => throw new ArgumentOutOfRangeException(nameof(config), config, $"Invalid algorithm: {config.Algorithm}")
});
@@ -136,7 +136,7 @@ public sealed class Solver : IDisposable
Interlocked.Increment(ref progressStage);
}
private async Task<SolverSolution> SearchStepwiseFurcated()
private async Task<SolverSolution> SearchStepwiseGenetic()
{
var iterCount = Config.Iterations / Config.ForkCount;
maxProgress = iterCount * Config.ForkCount;