JGAP

examples.monalisa.core
Class GAInitialChromosomeFactory

java.lang.Object
  extended by 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.
 
Constructor Summary
GAInitialChromosomeFactory()
           
 
Method Summary
static IChromosome create(GAConfiguration a_conf)
           
static int getGenomeSize(GAConfiguration a_conf)
           
static int getNumberOfColorGenes(GAConfiguration a_conf)
           
static int getNumberOfColorGenesPerPolygon()
           
static int getNumberOfGenesPerPoint()
           
static int getNumberOfGenesPerPolygon()
           
static int getNumberOfPointGenes(GAConfiguration a_conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POINTS

public static final int POINTS
Number of points in a polygon.

See Also:
Constant Field Values
Constructor Detail

GAInitialChromosomeFactory

public GAInitialChromosomeFactory()
Method Detail

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()

JGAP