es.udc.gii.common.eaf.algorithm.operator.selection
Class UniformSelection
java.lang.Object
es.udc.gii.common.eaf.algorithm.operator.selection.SelectionOperator
es.udc.gii.common.eaf.algorithm.operator.selection.UniformSelection
- All Implemented Interfaces:
- Operator, Configurable
public class UniformSelection
- extends SelectionOperator
This class implements a uniform selection opetator. Every individual of the population has the same
probability to be selected. Each time that the operator is executed, a random index is generated
from an uniform distribution.
Configuration:
<Operator><p>
<Class>es.udc.gii.common.eaf.algorithm.operator.UniformSelection</Class>
</Operator>
- Since:
- 1.0
- Author:
- Grupo Integrado de IngenierĂa (www.gii.udc.es)
Constructor Summary |
UniformSelection()
Creates a new instance of UniformSelection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UniformSelection
public UniformSelection()
- Creates a new instance of UniformSelection
configure
public void configure(org.apache.commons.configuration.Configuration conf)
- Description copied from interface:
Configurable
- Configures the specific element that implements this method.
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class SelectionOperator
- Parameters:
conf
- a Configuration object.- See Also:
Configuration
select
protected Individual select(EvolutionaryAlgorithm algorithm,
java.util.List<Individual> individuals)
- Specified by:
select
in class SelectionOperator