org.vizzini.ai.geneticprogramming
Class DefaultChromosomeGP

java.lang.Object
  extended by org.vizzini.ai.geneticalgorithm.AbstractChromosome
      extended by org.vizzini.ai.geneticprogramming.AbstractChromosomeGP
          extended by org.vizzini.ai.geneticprogramming.DefaultChromosomeGP
All Implemented Interfaces:
Cloneable, Comparable, IChromosome, IChromosomeGP

public class DefaultChromosomeGP
extends AbstractChromosomeGP

Provides a default implementation of a chromosome in genetic programming.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from interface org.vizzini.ai.geneticalgorithm.IChromosome
UNKNOWN_FITNESS
 
Constructor Summary
DefaultChromosomeGP()
          Construct this object.
DefaultChromosomeGP(IFunction function)
          Construct this object with the given parameter.
 
Method Summary
 
Methods inherited from class org.vizzini.ai.geneticprogramming.AbstractChromosomeGP
clone, evaluate, getFunction, mix, mutate, randomlyInitialize, setFunction, size, splice, splice, toString
 
Methods inherited from class org.vizzini.ai.geneticalgorithm.AbstractChromosome
addFitness, compareTo, copy, equals, getDescription, getFitness, hashCode, isFitnessUnknown, mix, setDescription, setFitness, setFitnessUnknown
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vizzini.ai.geneticalgorithm.IChromosome
addFitness, copy, equals, getDescription, getFitness, isFitnessUnknown, mix, setDescription, setFitness, setFitnessUnknown
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

DefaultChromosomeGP

public DefaultChromosomeGP()
Construct this object.

Since:
v0.3

DefaultChromosomeGP

public DefaultChromosomeGP(IFunction function)
Construct this object with the given parameter.

Parameters:
function - Function.
Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02