examples.monalisa.core
Class GAInitialChromosomeFactory
java.lang.Object
examples.monalisa.core.GAInitialChromosomeFactory
public class GAInitialChromosomeFactory
- extends java.lang.Object
Creates a suitable initial chromosome.
- Since:
- 3.4
Field Summary |
static int |
POINTS
Number of points in a polygon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POINTS
public static final int POINTS
- Number of points in a polygon.
- See Also:
- Constant Field Values
GAInitialChromosomeFactory
public GAInitialChromosomeFactory()
create
public static IChromosome create(GAConfiguration a_conf)
throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
getGenomeSize
public static int getGenomeSize(GAConfiguration a_conf)
getNumberOfPointGenes
public static int getNumberOfPointGenes(GAConfiguration a_conf)
getNumberOfColorGenes
public static int getNumberOfColorGenes(GAConfiguration a_conf)
getNumberOfGenesPerPolygon
public static int getNumberOfGenesPerPolygon()
getNumberOfColorGenesPerPolygon
public static int getNumberOfColorGenesPerPolygon()
getNumberOfGenesPerPoint
public static int getNumberOfGenesPerPoint()