|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gpsys.GPParameters
|
+--gpsys.lawnmower.LawnMowerGPParameters
The GPParameters class for the lawnmower problem. Any instance of this class has all the GP parameters correctly set.
| 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 |
|
| Field Detail |
public Lawn lawn
public Mower mower
| Constructor Detail |
LawnMowerGPParameters(long seed,
int population,
int generations)
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||