C# Класс Encog.Solve.Genetic.Crossover.SpliceNoRepeat

A simple cross over where genes are simply "spliced". Genes are not allowed to repeat.
Наследование: ICrossover
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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