Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.ml.genetic.crossover
Class SpliceNoRepeat

    java.lang.Object
      org.encog.ml.genetic.crossover.SpliceNoRepeat

All Implemented Interfaces:
  Crossover

    public class SpliceNoRepeat

extends Object
implements Crossover

A simple cross over where genes are simply "spliced". Genes are not allowed to repeat.

Constructor Summary
`SpliceNoRepeat(int theCutLength)` Construct a splice crossover.

Method Summary
`void` | `mate(Chromosome mother, Chromosome father, Chromosome offspring1, Chromosome offspring2)` Assuming this chromosome is the "mother" mate with the passed in "father".

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SpliceNoRepeat

    public SpliceNoRepeat(int theCutLength)

  Construct a splice crossover.

  Parameters:
    `theCutLength` - The cut length.

Method Detail

### mate

    public final void mate(Chromosome mother,
                           Chromosome father,
                           Chromosome offspring1,
                           Chromosome offspring2)

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

  Specified by:
    `mate` in interface `Crossover`
  Parameters:
    `mother` - The mother.
    `father` - The father.
    `offspring1` - Returns the first offspring
    `offspring2` - Returns the second offspring.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.