Add enum for Selection method

This commit is contained in:
2025-07-11 17:15:11 +07:00
parent f720cb7321
commit c62570e15d
10 changed files with 59 additions and 39 deletions

View File

@@ -50,7 +50,7 @@ public class RunGeneticRequest
/// <summary>
/// The selection method to use
/// </summary>
public string SelectionMethod { get; set; } = "tournament";
public GeneticSelectionMethod SelectionMethod { get; set; }
/// <summary>
/// The percentage of elite individuals to preserve (1-50)