NAME
Algorithm::Evolutionary::Op::Storing - Applies the op and keeps the result
SYNOPSIS
my %visited_population_hash;
my $op = new Algorithm::Evolutionary::Op::Bitflip 2; #Create from scratch with default rate
my $stored_op = new Algorithm::Evolutionary::Op::Storing ( $op, \%visited_population_hash );
Base Class
Algorithm::Evolutionary::Op::Base
DESCRIPTION
Applies an operator and stores the result in a hash (can be a tied database), so that the whole population is kept
METHODS
new( $operator, $population_hashref )
Wraps around the operator, and stores the reference to the population hash that will be used
apply( @victims )
Applies internal operator, and keeps result
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: 2009/02/04 20:43:15 $
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Storing.pm,v 2.1 2009/02/04 20:43:15 jmerelo Exp $
$Author: jmerelo $
$Revision: 2.1 $
$Name $