Click or drag to resize
Accord.NET (logo)

ISelectionMethodApplySelection Method

Apply selection to the specified population.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
void ApplySelection(
	List<IChromosome> chromosomes,
	int size
)
Request Example View Source

Parameters

chromosomes
Type: System.Collections.GenericListIChromosome
Population, which should be filtered.
size
Type: SystemInt32
The amount of chromosomes to keep.
Remarks
Filters specified population according to the implemented selection algorithm.
See Also