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

A simple cross over where genes are simply "spliced". Genes are allowed to repeat.
Inheritance: ICrossover
Mostrar archivo 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 cutLength ) : System

Construct a splice cross over object.

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.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.
return void

Splice() public method

Construct a splice cross over object.
public Splice ( int cutLength ) : System
cutLength int
return System