|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
I - individual typepublic interface Selection<I>
A selection function.
| Method Summary | |
|---|---|
Collection<I> |
select(Collection<I> population,
WeightedMap<I> scores)
Select individuals from the specified population of individuals based on the specified fitness scores. |
| Method Detail |
|---|
Collection<I> select(Collection<I> population,
WeightedMap<I> scores)
population - population of individualsscores - fitness scores
IllegalStateException - if the total weight of the scores is zero
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||