C# Класс Encog.ML.Genetic.Species.BasicSpecies

Наследование: ISpecies
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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