org.encog.ml.prg.train
Class PrgGenomeFactory
- java.lang.Object
-
- org.encog.ml.prg.train.PrgGenomeFactory
-
- All Implemented Interfaces:
- java.io.Serializable, GenomeFactory
public class PrgGenomeFactory extends java.lang.Object implements GenomeFactory, java.io.Serializable
A GenomeFactory that creates EncogProgram genomes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PrgGenomeFactory(EncogProgramContext theContext)Construct a factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Genomefactor()Genomefactor(Genome other)Create a clone of the other genome.
-
-
-
Constructor Detail
-
PrgGenomeFactory
public PrgGenomeFactory(EncogProgramContext theContext)
Construct a factory.- Parameters:
theContext- The context to use.
-
-
Method Detail
-
factor
public Genome factor()
- Specified by:
factorin interfaceGenomeFactory- Returns:
- The newly created genome.
-
factor
public Genome factor(Genome other)
Create a clone of the other genome.- Specified by:
factorin interfaceGenomeFactory- Parameters:
other- The other genome.- Returns:
- The newly created clone.
-
-
DMelt 3.0 © DataMelt by jWork.ORG