|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.features.selection.UniformSelection
public class UniformSelection
Selects a given fixed number of individuals by uniformly sampling from the current population until the desired population size is reached.
| Constructor Summary | |
|---|---|
UniformSelection(int popSize,
boolean keepBest,
java.util.Random random)
|
|
| Method Summary | |
|---|---|
void |
operate(Population population)
Modifies the population. |
boolean |
performOperation(int generation)
The default implementation returns true for every generation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformSelection(int popSize,
boolean keepBest,
java.util.Random random)
| Method Detail |
|---|
public boolean performOperation(int generation)
performOperation in interface PopulationOperatorpublic void operate(Population population)
PopulationOperator
operate in interface PopulationOperator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||