|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.features.KeepBest
public class KeepBest
Keeps the n best individuals and kicks out the rest.
| Constructor Summary | |
|---|---|
KeepBest(int bestN)
|
|
| Method Summary | |
|---|---|
void |
operate(Population pop)
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 KeepBest(int bestN)
| Method Detail |
|---|
public boolean performOperation(int generation)
performOperation in interface PopulationOperatorpublic void operate(Population pop)
PopulationOperator
operate in interface PopulationOperator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||