JGAP

examples.monalisa.core
Class GAConfiguration

java.lang.Object
  extended by org.jgap.Configuration
      extended by examples.monalisa.core.GAConfiguration
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, Configurable, ICloneable

public class GAConfiguration
extends Configuration
implements ICloneable

Encapsulates the settings of the genetic algorithm.

Since:
3.4
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jgap.Configuration
Configuration.ConfigurationConfigurable
 
Field Summary
 
Fields inherited from class org.jgap.Configuration
PROPERTY_BFITFNC_INST, PROPERTY_EVENT_MGR_INST, PROPERTY_FITEVAL_INST, PROPERTY_FITFUNC_INST, PROPERTY_JGAPFACTORY_CLASS, PROPERTY_SAMPLE_CHROM_INST, S_CHROMOSOME_SIZE, S_CONFIGURATION, S_CONFIGURATION_HANDLER, S_CONFIGURATION_NAME, S_EVENT_MANAGER, S_FITNESS_EVALUATOR, S_FITNESS_FUNCTION, S_GENETIC_OPERATORS, S_MINPOPSIZE, S_NATURAL_SELECTORS, S_NONE, S_POPULATION_SIZE, S_POST, S_PRE, S_RANDOM_GENERATOR, S_SAMPLE_CHROM, S_SIZE, S_TOSTRING
 
Constructor Summary
GAConfiguration(java.awt.image.BufferedImage a_target, int a_maxPolygons)
           
 
Method Summary
 java.lang.Object clone()
           
 int getMaxPolygons()
           
 GAPhenotypeExpresser getPhenotypeExpresser()
           
 java.awt.image.BufferedImage getTarget()
           
 
Methods inherited from class org.jgap.Configuration
addGeneticOperator, addNaturalSelector, checkProperty, compareTo, doClone, equals, getBreeder, getBulkFitnessFunction, getChromosomePool, getChromosomeSize, getConfigurationHandler, getEventManager, getFitnessEvaluator, getFitnessFunction, getGenerationNr, getGeneticOperators, getId, getJGAPFactory, getMinimumPopSizePercent, getMonitor, getName, getNaturalSelector, getNaturalSelector, getNaturalSelectors, getNaturalSelectorsSize, getPopulationSize, getRandomGenerator, getSampleChromosome, getSelectFromPrevGen, getThreadKey, incrementGenerationNr, isAlwaysCalculateFitness, isKeepPopulationSizeConstant, isLocked, isPreserveFittestIndividual, isUniqueKeysActive, lockSettings, makeKey, makeThreadKey, newInstance, removeNaturalSelectors, reset, reset, resetProperty, resetProperty, setAlwaysCaculateFitness, setBreeder, setBulkFitnessFunction, setChromosomePool, setEventManager, setFitnessEvaluator, setFitnessFunction, setId, setJGAPFactory, setKeepPopulationSizeConstant, setMinimumPopSizePercent, setMonitor, setName, setNaturalSelector, setPopulationSize, setPreservFittestIndividual, setRandomGenerator, setSampleChromosome, setSelectFromPrevGen, setUniqueKeysActive, toString, verifyChangesAllowed, verifyStateIsValid
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GAConfiguration

public GAConfiguration(java.awt.image.BufferedImage a_target,
                       int a_maxPolygons)
                throws InvalidConfigurationException
Throws:
InvalidConfigurationException
Method Detail

getTarget

public java.awt.image.BufferedImage getTarget()

getMaxPolygons

public int getMaxPolygons()

getPhenotypeExpresser

public GAPhenotypeExpresser getPhenotypeExpresser()

clone

public java.lang.Object clone()
Specified by:
clone in interface ICloneable
Overrides:
clone in class Configuration
Returns:
deep clone of this instance

JGAP