public class MOSATournamentSelection<T extends Chromosome> extends SelectionFunction<T>
logger, maximize| Constructor and Description |
|---|
MOSATournamentSelection() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(List<T> population)
Return index of next offspring
|
T |
select(List<T> population)
Return two parents
|
isMaximize, select, setMaximizepublic int getIndex(List<T> population)
getIndex in class SelectionFunction<T extends Chromosome>population - a List object.public T select(List<T> population)
SelectionFunctionselect in class SelectionFunction<T extends Chromosome>population - a List object.Chromosome object.Copyright © 2010–2017 EvoSuite. All rights reserved.