org.encog.ml.genetic

## Class MLMethodGenomeFactory

- java.lang.Object
- - org.encog.ml.genetic.MLMethodGenomeFactory

- All Implemented Interfaces:
    GenomeFactory

      public class MLMethodGenomeFactory
      extends Object
      implements GenomeFactory

  A factory to create MLMethod based genomes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MLMethodGenomeFactory(MethodFactory theFactory, Population thePopulation)` Construct the genome factory.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Genome` | `factor()`
    `Genome` | `factor(Genome other)` Create a clone of the other genome.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MLMethodGenomeFactory

          public MLMethodGenomeFactory(MethodFactory theFactory,
                               Population thePopulation)

      Construct the genome factory.
      Parameters:
        `theFactory` - The factory.
        `thePopulation` - The population.

  - ### Method Detail

    - #### factor

          public Genome factor()

      Specified by:
        `factor` in interface `GenomeFactory`
      Returns:
        The newly created genome.

    - #### factor

          public Genome factor(Genome other)

      Create a clone of the other genome.
      Specified by:
        `factor` in interface `GenomeFactory`
      Parameters:
        `other` - The other genome.
      Returns:
        The newly created clone.

Copyright © 2014. All Rights Reserved.