A Genetic Programming Framework for .NET

EngineOptions.RecombinationThenMutation Method 

Breeds a new Population using both recombination and mutation.

public static void RecombinationThenMutation(
   Random r,
   GeneticOperationArgs args,
   Selector selector
);

Parameters

r
A random number.
args
A GeneticOperationArgs that contains the data for performing Genetic Operations.
selector
A Selector delegate to use for selecting IndividualInfos to breed.

Remarks

This implementation uses the MutationRate property to determine whether a child created through recombination should also be mutated.

Exceptions

Exception Type Condition
ArgumentNullException Thrown when either r, args, or selector are null.

See Also

EngineOptions Class | GeneticProgrammingEngine.Internal Namespace | Breeder Delegate | Breeder Property