C# Class Encog.ML.Genetic.Crossover.Splice

Inheritance: ICrossover
Mostra file Open project: encog/encog-silverlight-core

Public Methods

Method Description
Mate ( Chromosome mother, Chromosome father, Chromosome offspring1, Chromosome offspring2 ) : void

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

Splice ( int theCutLength ) : Encog.ML.Genetic.Genome

Create a slice crossover with the specified cut length.

Method Details

Mate() public method

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.ML.Genetic.Genome.Chromosome The mother.
father Encog.ML.Genetic.Genome.Chromosome The father.
offspring1 Encog.ML.Genetic.Genome.Chromosome Returns the first offspring
offspring2 Encog.ML.Genetic.Genome.Chromosome Returns the second offspring.
return void

Splice() public method

Create a slice crossover with the specified cut length.
public Splice ( int theCutLength ) : Encog.ML.Genetic.Genome
theCutLength int The cut length.
return Encog.ML.Genetic.Genome