es.udc.gii.common.eaf.algorithm.parallel.migration.acceptance
Interface MigAcceptancePolicy
- All Superinterfaces:
- Configurable
- All Known Implementing Classes:
- BinaryAcceptancePolicy, GenerationBasedAcceptance, IntersectionAcceptancePolicy, UnionAcceptancePolicy
public interface MigAcceptancePolicy
- extends Configurable
An acceptance policy states which individuals are accepted when they arrive
from another process.
- Since:
- 1.0
- Author:
- Grupo Integrado de IngenierĂa (www.gii.udc.es)
accept
java.util.List<Individual> accept(MigrationObject migrant,
EvolutionaryAlgorithm algorithm,
java.util.List<Individual> currentPopulation)
- Accepts the individuals that come in a
MigrationObject
based on
some criterion.
- Returns:
- A list of the accepted individuals. If no individual is accepted,
then an empty list is returned.