/* Copyright 2006 by Sean Luke Licensed under the Academic Free License version 3.0 See the file "LICENSE" for more information */ package ec.gp; import ec.*; import ec.util.*; import java.io.*; /* * GPIndividual.java * * Created: Fri Aug 27 17:07:45 1999 * By: Sean Luke */ /** * 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. * *