Add progression and new method of selection/mutation/crossover
This commit is contained in:
@@ -112,6 +112,18 @@ public class GeneticRequest
|
||||
[Required]
|
||||
public GeneticSelectionMethod SelectionMethod { get; set; } = GeneticSelectionMethod.Tournament;
|
||||
|
||||
/// <summary>
|
||||
/// The crossover method to use
|
||||
/// </summary>
|
||||
[Required]
|
||||
public GeneticCrossoverMethod CrossoverMethod { get; set; } = GeneticCrossoverMethod.Uniform;
|
||||
|
||||
/// <summary>
|
||||
/// The mutation method to use
|
||||
/// </summary>
|
||||
[Required]
|
||||
public GeneticMutationMethod MutationMethod { get; set; } = GeneticMutationMethod.Uniform;
|
||||
|
||||
/// <summary>
|
||||
/// The percentage of elite individuals to preserve (1-50)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user