NAME

Algorithm::Evolutionary::Op::Replace_Different - Incorporate individuals into the population replacing the worst ones but only if they are different.

SYNOPSIS

my $op = new Algorithm::Evolutionary::Op::Replace_Different; 
$op->apply( $old_population_hashref, $new_population_hashref );

Base Class

Algorithm::Evolutionary::Op::Base

DESCRIPTION

Replaces only unique individuals, avoiding to introduce copies of them into the new population .

METHODS

apply( $population, $chromosome_list )

Eliminates the worst individuals in the population, replacing them
by the list of new chromosomes, but only if they are different to the ones already present. The population must be evaluated,
but there's no need to have it sorted in advance.  It returns a
sorted population.

SEE ALSO

Algorithm::Evolutionary::Op::Generation_Skeleton, where the replacement policy is one of the parameters.

It can also be used in POE::Component::Algorithm::Evolutionary for insertion of new individuals asynchronously.

Another breeder is Algorithm::Evolutionary::Op::Replace_Worst.

Copyright

This file is released under the GPL. See the LICENSE file included in this distribution,
or go to http://www.fsf.org/licenses/gpl.txt

CVS Info: $Date: 2013/01/05 12:43:32 $ 
$Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Replace_Different.pm,v 1.3 2013/01/05 12:43:32 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 1.3 $
$Name $