C# 클래스 MZ.GeneticSimulation.DataModel.World

The world.
파일 보기 프로젝트 열기: zzz77/GeneticSimulation 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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[]