gpsys
Class GPsys

java.lang.Object
  |
  +--gpsys.GPsys

public class GPsys
extends java.lang.Object

The top level class of the GP system. Construct an object of this type by supplying the GPParameters, and then call the evolve method to evolve the code. Evolution is halted when a solution that meets the termination citeria is met or when the population has evolved to the required number of generations.

Version:
$Revision: 1.1 $, $Date: 2000/07/05 16:21:25 $
Author:
Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.

Field Summary
(package private)  GPParameters gpParameters
          The GPParameters defining the problem.
 
Constructor Summary
GPsys(GPParameters gpParameters)
          Construct a GP system using the supplied GPParameters object.
 
Method Summary
 void evolve()
          Evolves the population until the required number of generations have been produced or the termination criteria has been satisfied.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

gpParameters

GPParameters gpParameters
The GPParameters defining the problem.
Constructor Detail

GPsys

public GPsys(GPParameters gpParameters)
Construct a GP system using the supplied GPParameters object. if the population field of the gpParameters object is null, then a new initial population is created.
Parameters:
gpParameters - The GPParaemeters defining the problem.
Method Detail

evolve

public void evolve()
Evolves the population until the required number of generations have been produced or the termination criteria has been satisfied.