C# Класс MZ.GeneticSimulation.DataModel.World

The world.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Species List[]

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

Метод Описание
Run ( int generations ) : void

Simulates evolution.

World ( ) : System.Collections.Generic

Initializes a new instance of the World class.

Приватные методы

Метод Описание
MakeChildren ( ) : void

Creates new generation of creatures.

Mutate ( ) : void

Mutates current generation of creatures.

SelectBest ( ) : void

Selects best creatures.

Описание методов

Run() публичный Метод

Simulates evolution.
public Run ( int generations ) : void
generations int /// Number of iterations of simulation. ///
Результат void

World() публичный Метод

Initializes a new instance of the World class.
public World ( ) : System.Collections.Generic
Результат System.Collections.Generic

Описание свойств

Species публичное свойство

The species.
public List[] Species
Результат List[]