C# 클래스 AForge.Genetic.EliteSelection

Elite selection method.
Elite selection method selects specified amount of best chromosomes to the next generation.
상속: ISelectionMethod
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
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