C# 클래스 Encog.Solve.Genetic.Crossover.SpliceNoRepeat

A simple cross over where genes are simply "spliced". Genes are not allowed to repeat.
상속: ICrossover
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
Mate ( Chromosome mother, Chromosome father, Chromosome offspring1, Chromosome offspring2 ) : void

Assuming this chromosome is the "mother" mate with the passed in "father".

SpliceNoRepeat ( int cutLength ) : System

Construct a splice crossover.

비공개 메소드들

메소드 설명
GetNotTaken ( Chromosome source, IList taken ) : IGene

Get a list of the genes that have not been taken before. This is useful if you do not wish the same gene to appear more than once in a chromosome.

메소드 상세

Mate() 공개 메소드

Assuming this chromosome is the "mother" mate with the passed in "father".
public Mate ( Chromosome mother, Chromosome father, Chromosome offspring1, Chromosome offspring2 ) : void
mother Encog.Solve.Genetic.Genome.Chromosome The mother.
father Encog.Solve.Genetic.Genome.Chromosome The father.
offspring1 Encog.Solve.Genetic.Genome.Chromosome The first offspring.
offspring2 Encog.Solve.Genetic.Genome.Chromosome The second offspring.
리턴 void

SpliceNoRepeat() 공개 메소드

Construct a splice crossover.
public SpliceNoRepeat ( int cutLength ) : System
cutLength int The cut length.
리턴 System