C# Class Encog.Solve.Genetic.Population.BasicPopulation

Inheritance: Encog.Persist.BasicPersistedObject, IPopulation
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
Add ( IGenome genome ) : void

Add a genome to the population.

AddAll ( IList newPop ) : void

Add all of the specified members to this population.

AssignGeneID ( ) : long

Assign a gene id.

AssignGenomeID ( ) : long

Assign a genome id.

AssignInnovationID ( ) : long

Assign an innovation id.

AssignSpeciesID ( ) : long

Assign a species id.

BasicPopulation ( int populationSize ) : System

Construct a population.

Clear ( ) : void

Clear all genomes from this population.

Clone ( ) : object

Clone is not supported for this object type, an error will be thrown.

CreatePersistor ( ) : IPersistor

Create a persistor.

GetBest ( ) : IGenome

The best genome in the population.

Sort ( ) : void

Sort the population.

Method Details

Add() public méthode

Add a genome to the population.
public Add ( IGenome genome ) : void
genome IGenome The genome to add.
Résultat void

AddAll() public méthode

Add all of the specified members to this population.
public AddAll ( IList newPop ) : void
newPop IList A list of new genomes to add.
Résultat void

AssignGeneID() public méthode

Assign a gene id.
public AssignGeneID ( ) : long
Résultat long

AssignGenomeID() public méthode

Assign a genome id.
public AssignGenomeID ( ) : long
Résultat long

AssignInnovationID() public méthode

Assign an innovation id.
public AssignInnovationID ( ) : long
Résultat long

AssignSpeciesID() public méthode

Assign a species id.
public AssignSpeciesID ( ) : long
Résultat long

BasicPopulation() public méthode

Construct a population.
public BasicPopulation ( int populationSize ) : System
populationSize int The population size.
Résultat System

Clear() public méthode

Clear all genomes from this population.
public Clear ( ) : void
Résultat void

Clone() public méthode

Clone is not supported for this object type, an error will be thrown.
public Clone ( ) : object
Résultat object

CreatePersistor() public méthode

Create a persistor.
public CreatePersistor ( ) : IPersistor
Résultat IPersistor

GetBest() public méthode

The best genome in the population.
public GetBest ( ) : IGenome
Résultat IGenome

Sort() public méthode

Sort the population.
public Sort ( ) : void
Résultat void