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

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

공개 프로퍼티들

프로퍼티 타입 설명
IdOfSpecies int

Private Properties

프로퍼티 타입 설명
GetSelfishGenesOutStrength double

공개 메소드들

메소드 설명
BreakRedundantConnections ( ) : void

Breaks connection with unused grandparents.

Creature ( Creature mommy, Creature daddy ) : System

Initializes a new instance of the Creature class.

Creature ( int idOfSpecies, World world ) : System

Initializes a new instance of the Creature class.

Mutate ( ) : void

Mutates creature.

비공개 메소드들

메소드 설명
GetSelfishGenesOutStrength ( Relation whoAreYou ) : double

Gets strength which is given to relation by this creature.

메소드 상세

BreakRedundantConnections() 공개 메소드

Breaks connection with unused grandparents.
public BreakRedundantConnections ( ) : void
리턴 void

Creature() 공개 메소드

Initializes a new instance of the Creature class.
public Creature ( Creature mommy, Creature daddy ) : System
mommy Creature /// The mommy. ///
daddy Creature /// The daddy. ///
리턴 System

Creature() 공개 메소드

Initializes a new instance of the Creature class.
public Creature ( int idOfSpecies, World world ) : System
idOfSpecies int /// The id of species. ///
world World /// The world. ///
리턴 System

Mutate() 공개 메소드

Mutates creature.
public Mutate ( ) : void
리턴 void

프로퍼티 상세

IdOfSpecies 공개적으로 프로퍼티

The id of species.
public int IdOfSpecies
리턴 int