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
Class MateWorker

    java.lang.Object
      org.encog.ml.genetic.MateWorker

All Implemented Interfaces:
  EngineTask

    public class MateWorker

extends Object
implements EngineTask

This class is used in conjunction with a thread pool. This allows the genetic algorithm to offload all of those calculations to a thread pool.

Constructor Summary
`MateWorker(Genome theMother, Genome theFather, Genome theChild1, Genome theChild2)`

Method Summary
`void` | `run()` Mate the two chromosomes.

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

Constructor Detail

### MateWorker

    public MateWorker(Genome theMother,
                      Genome theFather,
                      Genome theChild1,
                      Genome theChild2)

Parameters:
  `theMother` - The mother.
  `theFather` - The father.
  `theChild1` - The first child.
  `theChild2` - The second child.

Method Detail

### run

    public final void run()

  Mate the two chromosomes.

  Specified by:
    `run` in interface `EngineTask`

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.