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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrgGenomeFactory
public PrgGenomeFactory(EncogProgramContext theContext)
- Construct a factory.
- Parameters:
theContext
- The context to use.
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.