|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSelector<T>
RouletteWheelSelector<T>
public class RouletteWheelSelector<T>
this class implements roulette wheel selection
Constructor Summary | |
---|---|
RouletteWheelSelector(ElitismEnum elitism,
int elites)
|
Method Summary | |
---|---|
List<Individual<T>> |
select(List<Individual<T>> individuals)
implements roulette wheel selection in a simplistic manner |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RouletteWheelSelector(ElitismEnum elitism, int elites)
elitism
- the type of elitismelites
- number of best Individuals to be carried into the next generationMethod Detail |
---|
public List<Individual<T>> select(List<Individual<T>> individuals)
select
in class Selector<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |