C# Класс AForge.Genetic.EliteSelection

Elite selection method.
Elite selection method selects specified amount of best chromosomes to the next generation.
Наследование: ISelectionMethod
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplySelection ( List chromosomes, int size ) : void

Apply selection to the specified population.

Filters specified population keeping only specified amount of best chromosomes.

EliteSelection ( ) : System

Initializes a new instance of the EliteSelection class.

Описание методов

ApplySelection() публичный метод

Apply selection to the specified population.
Filters specified population keeping only specified amount of best chromosomes.
public ApplySelection ( List chromosomes, int size ) : void
chromosomes List Population, which should be filtered.
size int The amount of chromosomes to keep.
Результат void

EliteSelection() публичный метод

Initializes a new instance of the EliteSelection class.
public EliteSelection ( ) : System
Результат System