C# Class Encog.ML.Genetic.Species.BasicSpecies

Inheritance: ISpecies
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

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

Method Details

BasicSpecies() public méthode

Default constructor, used mainly for persistence.
public BasicSpecies ( ) : System
Résultat System

BasicSpecies() public méthode

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

CalculateSpawnAmount() public méthode

Calculate the amount to spawn.
public CalculateSpawnAmount ( ) : void
Résultat void

ChooseParent() public méthode

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
Résultat IGenome

Purge() public méthode

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