JGAP

examples.gp.monalisa.core
Class DrawingGPConfiguration

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

public class DrawingGPConfiguration
extends GPConfiguration

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
protected  java.awt.image.BufferedImage m_target
           
 
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
DrawingGPConfiguration(java.awt.image.BufferedImage a_target)
           
 
Method Summary
 java.awt.image.BufferedImage getTarget()
          Get the target image of the drawing problem.
 
Methods inherited from class org.jgap.gp.impl.GPConfiguration
addGeneticOperator, clearMemory, clearStack, clone, compareTo, createMatrix, equals, flagMaxNodeWarningPrinted, getCrossMethod, getCrossoverProb, getDynamizeArityProb, getFunctionProb, getGPFitnessEvaluator, getGPFitnessFunction, getInitStrategy, getJGAPFactory, getMatrix, getMaxCrossoverDepth, getMaxInitDepth, getMemorySize, getMinInitDepth, getMutationProb, getNewChromsPercent, getNodeValidator, getProgramCreationMaxtries, getPrototypeProgram, getReproductionProb, getSelectionMethod, getSingleNodeValidator, getVariable, init, isMaxNodeWarningPrinted, isNoCommandGeneCloning, isStrictProgramCreation, isUseProgramCache, isVerifyPrograms, newInstanceGP, peekStack, popFromStack, pushToStack, putToProgramCache, putVariable, readFromMemory, readFromMemoryIfExists, readIndexedMemory, readMatrix, readMatrixMemory, readProgramCache, resetMatrix, setCrossoverMethod, setCrossoverProb, setDynamizeArityProb, setFitnessEvaluator, setFitnessFunction, setFunctionProb, setGPFitnessEvaluator, setInitStrategy, setMatrix, setMatrix, setMaxCrossoverDepth, setMaxInitDepth, setMinInitDepth, setMutationProb, setNewChromsPercent, setNoCommandGeneCloning, setNodeValidator, setProgramCreationMaxTries, setPrototypeProgram, setReproductionProb, setSelectionMethod, setSingleNodeValidator, setStrictProgramCreation, setUseProgramCache, setVerifyPrograms, stackSize, storeIndexedMemory, storeInMemory, storeMatrixMemory, validateNode, verifyStateIsValid
 
Methods inherited from class org.jgap.Configuration
addNaturalSelector, checkProperty, doClone, getBreeder, getBulkFitnessFunction, getChromosomePool, getChromosomeSize, getConfigurationHandler, getEventManager, getFitnessEvaluator, getFitnessFunction, getGenerationNr, getGeneticOperators, getId, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_target

protected java.awt.image.BufferedImage m_target
Constructor Detail

DrawingGPConfiguration

public DrawingGPConfiguration(java.awt.image.BufferedImage a_target)
                       throws InvalidConfigurationException
Throws:
InvalidConfigurationException
Method Detail

getTarget

public java.awt.image.BufferedImage getTarget()
Get the target image of the drawing problem.

Returns:
the value of target

JGAP