C# 클래스 Encog.ML.Genetic.Species.BasicSpecies

상속: ISpecies
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
BasicSpecies ( ) : System

Default constructor, used mainly for persistence.

BasicSpecies ( IPopulation thePopulation, IGenome theFirst, long theSpeciesID ) : System

Construct a species.

CalculateSpawnAmount ( ) : void

Calculate the amount to spawn.

ChooseParent ( ) : IGenome

Choose a parent to mate. Choose from the population, determined by the survival rate. From this pool, a random parent is chosen.

Purge ( ) : void

Purge all members, increase age by one and count the number of generations with no improvement.

메소드 상세

BasicSpecies() 공개 메소드

Default constructor, used mainly for persistence.
public BasicSpecies ( ) : System
리턴 System

BasicSpecies() 공개 메소드

Construct a species.
public BasicSpecies ( IPopulation thePopulation, IGenome theFirst, long theSpeciesID ) : System
thePopulation IPopulation The population the species belongs to.
theFirst IGenome The first genome in the species.
theSpeciesID long The species id.
리턴 System

CalculateSpawnAmount() 공개 메소드

Calculate the amount to spawn.
public CalculateSpawnAmount ( ) : void
리턴 void

ChooseParent() 공개 메소드

Choose a parent to mate. Choose from the population, determined by the survival rate. From this pool, a random parent is chosen.
public ChooseParent ( ) : IGenome
리턴 IGenome

Purge() 공개 메소드

Purge all members, increase age by one and count the number of generations with no improvement.
public Purge ( ) : void
리턴 void