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.prg.train
Class PrgGenomeFactory

    java.lang.Object
      org.encog.ml.prg.train.PrgGenomeFactory

All Implemented Interfaces:
  Serializable, GenomeFactory

    public class PrgGenomeFactory

extends Object
implements GenomeFactory, Serializable

A GenomeFactory that creates EncogProgram genomes.

See Also:
  Serialized Form

Constructor Summary
`PrgGenomeFactory(EncogProgramContext theContext)` Construct a factory.

Method Summary
`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

### PrgGenomeFactory

    public PrgGenomeFactory(EncogProgramContext theContext)

  Construct a factory.

  Parameters:
    `theContext` - The context to use.

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.

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 © 2014. All Rights Reserved.