ec.gp
Class GPIndividual

java.lang.Object
  extended by ec.Individual
      extended by ec.gp.GPIndividual
All Implemented Interfaces:
Prototype, Setup, java.io.Serializable, java.lang.Cloneable

public class GPIndividual
extends Individual

GPIndividual is an Individual used for GP evolution runs. GPIndividuals contain, at the very least, a nonempty array of GPTrees. You can use GPIndividual directly, or subclass it to extend it as you see fit.

GPIndividuals have two clone methods: clone() and lightClone(). clone() is a deep clone method as usual. lightClone() is a light clone which does not copy the trees.

In addition to serialization for checkpointing, Individuals may read and write themselves to streams in three ways.