Add enum for Selection method
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user