A Genetic Programming Framework for .NET

EngineOptions.UniformRandomSelection Method 

Selects an IndividualInfo at random from the current Population.

public static IndividualInfo UniformRandomSelection(
   Random r,
   GeneticOperationArgs args
);

Parameters

r
A random number.
args
A GeneticOperationArgs that contains the data for performing Genetic Operations.

Return Value

An IndividualInfo chosen randomly from the current Population.

Exceptions

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

See Also

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