Apply selection to the specified population.

Namespace:  AForge.Genetic
Assembly:  AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
void ApplySelection(
	List<IChromosome> chromosomes,
	int size
)

Parameters

chromosomes
Type: System.Collections.Generic..::.List<(Of <(IChromosome>)>)
Population, which should be filtered.
size
Type: System..::.Int32
The amount of chromosomes to keep.

Remarks

Filters specified population according to the implemented selection algorithm.

See Also