org.jgap.impl
Class DefaultConfiguration

java.lang.Object
  extended byorg.jgap.Configuration
      extended byorg.jgap.impl.DefaultConfiguration
All Implemented Interfaces:
java.io.Serializable

public class DefaultConfiguration
extends Configuration

The DefaultConfiguration class simplifies the JGAP configuration process by providing default configuration values for many of the configuration settings. The following values must still be provided: the sample Chromosome, population size, and desired fitness function. All other settings may also be changed in the normal fashion for those who wish to specify other custom values.

See Also:
Serialized Form

Constructor Summary
DefaultConfiguration()
          Constructs a new DefaultConfiguration instance with a number of Configuration settings set to default values.
 
Methods inherited from class org.jgap.Configuration
addMutationOperator, addReproductionOperator, getBulkFitnessFunction, getEventManager, getFitnessFunction, getIdFactory, getMutationOperators, getNaturalSelector, getPopulationSize, getRandomGenerator, getReproductionOperators, getSampleChromosomeMaterial, getSpeciationParms, isLocked, lockSettings, nextChromosomeId, nextInnovationId, setBulkFitnessFunction, setEventManager, setFitnessFunction, setIdFactory, setNaturalSelector, setPopulationSize, setRandomGenerator, setSampleChromosomeMaterial, verifyChangesAllowed, verifyStateIsValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConfiguration

public DefaultConfiguration()
Constructs a new DefaultConfiguration instance with a number of Configuration settings set to default values. It is still necessary to set the sample Chromosome, population size, and desired fitness function. Other settings may optionally be altered as desired.