C# Class MZ.GeneticSimulation.DataModel.World

The world.
Afficher le fichier Open project: zzz77/GeneticSimulation Class Usage Examples

Méthodes publiques

Свойство Type Description
Species List[]

Méthodes publiques

Méthode Description
Run ( int generations ) : void

Simulates evolution.

World ( ) : System.Collections.Generic

Initializes a new instance of the World class.

Private Methods

Méthode Description
MakeChildren ( ) : void

Creates new generation of creatures.

Mutate ( ) : void

Mutates current generation of creatures.

SelectBest ( ) : void

Selects best creatures.

Method Details

Run() public méthode

Simulates evolution.
public Run ( int generations ) : void
generations int /// Number of iterations of simulation. ///
Résultat void

World() public méthode

Initializes a new instance of the World class.
public World ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Property Details

Species public_oe property

The species.
public List[] Species
Résultat List[]