GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ALGORITHM::EVOLUTIONARY::OP::STORING (3)

.ds Aq ’

NAME

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

CONTENTS

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( CW$operator, CW$population_hashref )

Wraps around the operator, and stores the reference to the population hash that will be used

apply( CW@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 $



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ALGORITHM::EVOLUTIONARY::OP::STORING (3) 2014-10-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.