gpsys.lawnmower
Class LawnMowerGPParameters

java.lang.Object
  |
  +--gpsys.GPParameters
        |
        +--gpsys.lawnmower.LawnMowerGPParameters

public class LawnMowerGPParameters
extends GPParameters

The GPParameters class for the lawnmower problem. Any instance of this class has all the GP parameters correctly set.

Version:
$Revision: 1.1 $, $Date: 2000/07/05 16:26:49 $
Author:
Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
See Also:
Serialized Form

Field Summary
 Lawn lawn
          The lawn to be mowed.
 Mower mower
          The mower to be controlled.
 
Fields inherited from class gpsys.GPParameters
adf, creationIndex, engine, ENGINE_GENERATIONAL, ENGINE_STEADYSTATE, fitness, generations, observer, pMutation, population, populationSize, pReproduction, rng, rngSeed, tournamentSize
 
Constructor Summary
(package private) LawnMowerGPParameters(long seed, int population, int generations)
          Constructs a GPParameters object for the lawn mower problem.
 
Methods inherited from class gpsys.GPParameters
load, load, save, save, writeReport, writeReport
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

lawn

public Lawn lawn
The lawn to be mowed.

mower

public Mower mower
The mower to be controlled.
Constructor Detail

LawnMowerGPParameters

LawnMowerGPParameters(long seed,
                      int population,
                      int generations)
Constructs a GPParameters object for the lawn mower problem.
Parameters:
seed - The seed to be used for the random number generator. If a seed value of 0 is supplied, a unique seed is generated using the current time.
population - The size of the population to be used.
generations - The maximum number of generations to be evolved.