Add enum for Selection method
This commit is contained in:
@@ -110,7 +110,7 @@ public class GeneticRequest
|
||||
/// The selection method to use
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string SelectionMethod { get; set; } = "tournament";
|
||||
public GeneticSelectionMethod SelectionMethod { get; set; } = GeneticSelectionMethod.Tournament;
|
||||
|
||||
/// <summary>
|
||||
/// The percentage of elite individuals to preserve (1-50)
|
||||
|
||||
Reference in New Issue
Block a user