All Packages Class Hierarchy This Package Previous Next Index
Class gpsys.lawnmower.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.
- Author:
- Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
-
lawn
- The lawn to be mowed.
-
mower
- The mower to be controlled.
-
LawnMowerGPParameters(long, int, int)
- Constructs a GPParameters object for the lawn mower problem.
lawn
public Lawn lawn
- The lawn to be mowed.
mower
public Mower mower
- The mower to be controlled.
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.
All Packages Class Hierarchy This Package Previous Next Index