es.udc.gii.common.eaf.algorithm.parallel.migration.culling
Class WorstCull

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.parallel.migration.culling.WorstCull
All Implemented Interfaces:
MigCullingStrategy, Configurable

public class WorstCull
extends java.lang.Object
implements MigCullingStrategy

A culling strategy that returns the worst individuals of the current population.

Author:
Rafael Tedin Alvarez

Constructor Summary
WorstCull()
          Creates a new instance of WorstCull
 
Method Summary
 void configure(org.apache.commons.configuration.Configuration conf)
           
 java.util.List<Individual> getIndividualsToCull(EvolutionaryAlgorithm algorithm, java.util.List<Individual> migrants, java.util.List<Individual> currentIndividuals)
          Returns the individuals to remove from the current population.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorstCull

public WorstCull()
Creates a new instance of WorstCull

Method Detail

getIndividualsToCull

public java.util.List<Individual> getIndividualsToCull(EvolutionaryAlgorithm algorithm,
                                                       java.util.List<Individual> migrants,
                                                       java.util.List<Individual> currentIndividuals)
Description copied from interface: MigCullingStrategy
Returns the individuals to remove from the current population. If no individuals shall be removed an empty list is returned.

Specified by:
getIndividualsToCull in interface MigCullingStrategy

configure

public void configure(org.apache.commons.configuration.Configuration conf)
Specified by:
configure in interface Configurable