C# Class AForge.Genetic.EliteSelection

Elite selection method.
Elite selection method selects specified amount of best chromosomes to the next generation.
Inheritance: ISelectionMethod
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ApplySelection() public méthode

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.
Résultat void

EliteSelection() public méthode

Initializes a new instance of the EliteSelection class.
public EliteSelection ( ) : System
Résultat System