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)

Method Summary
 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.
 
Methods inherited from interface es.udc.gii.common.eaf.config.Configurable
configure
 

Method Detail

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.