org.encog.ml.genetic.genome
Class DoubleArrayGenomeFactory
- java.lang.Object
-
- org.encog.ml.genetic.genome.DoubleArrayGenomeFactory
-
- All Implemented Interfaces:
- GenomeFactory
public class DoubleArrayGenomeFactory extends java.lang.Object implements GenomeFactory
A factory that creates DoubleArrayGenome objects of a specific size.
-
-
Constructor Summary
Constructors Constructor and Description DoubleArrayGenomeFactory(int theSize)Construct the genome 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
-
DoubleArrayGenomeFactory
public DoubleArrayGenomeFactory(int theSize)
Construct the genome factory.- Parameters:
theSize- The size to create genomes of.
-
-
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