|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.groovyj.jgprog.SelectionMethod
|
+--com.groovyj.jgprog.FitnessProportionateSelection
Selects individuals proportionally according to their adjusted fitness.
Copyright (c) 2000 Robert Baruch. This code is released under the GNU General Public License (GPL).
| Constructor Summary | |
FitnessProportionateSelection()
|
|
| Method Summary | |
Individual |
select(World world)
Select an individual based on some method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FitnessProportionateSelection()
| Method Detail |
public Individual select(World world)
SelectionMethodselect in class SelectionMethodcom.groovyj.jgprog.SelectionMethodrandom - the random number generator to useworld - the World for the run
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||