Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Algorithm::EvolutionarUserpContributed)Algorithm::Evolutionary::Op::Storing(3)

NAME
       Algorithm::Evolutionary::Op::Storing - Applies the op and keeps the
       result

SYNOPSIS
	 my %visited_population_hash;

	 #Create from scratch with default operator rate
	 my $op	= new Algorithm::Evolutionary::Op::Bitflip 2;

	 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 stored. It creates an
       operator	whose results are cached, which	could be useful	for expensive
       operators.

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: 2011/02/14 06:55:36 $
	 $Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Storing.pm,v 3.1	2011/02/14 06:55:36 jmerelo Exp	$
	 $Author: jmerelo $
	 $Revision: 3.1	$
	 $Name $

perl v5.24.1			  2014-Algorithm::Evolutionary::Op::Storing(3)

NAME | SYNOPSIS | Base Class | DESCRIPTION | METHODS | Copyright

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Algorithm::Evolutionary::Op::Storing&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help