com.rapidminer.tools.math.optimization.ec.es
Class TournamentSelection
java.lang.Object
com.rapidminer.tools.math.optimization.ec.es.TournamentSelection
- All Implemented Interfaces:
- PopulationOperator
public class TournamentSelection
- extends java.lang.Object
- implements PopulationOperator
Performs tournaments with k participants. The winner of each tournament is
added to the next population. This will be repeated until the desired
population size is reached. The tournament size k represents the selection
pressure. For small sizes (like 2) relatively bad individuals have a good
chance to survive. If k reaches the population size, only the best individual
will survive.
- Author:
- Ingo Mierswa
Exp $
|
Constructor Summary |
TournamentSelection(int popSize,
double tournamentFraction,
boolean keepBest,
java.util.Random random)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TournamentSelection
public TournamentSelection(int popSize,
double tournamentFraction,
boolean keepBest,
java.util.Random random)
operate
public void operate(Population population)
- Specified by:
operate in interface PopulationOperator
Copyright © 2001-2009 by Rapid-I