NAME

    ParallelAlgorithm - A simple to use parallel algorithm, which needs a migrator
                        to send things back and forth


SYNOPSIS

  my $parEA = OpBase->fromXML( $ref->{initial}{section}{pop}{op} );
  my $anotherParEA = new ParallelAlgorithm( $migrator, $eval, $ops );
  $easyEA->apply(\@pop );


Base Class

EasyAlgorithm


DESCRIPTION

Algorithm that adds migration to the basic easy algorithm

new

Creates an algorithm, with the usual operators. Includes a default mutation and crossover, in case they are not passed as parameters

apply

Applies the algorithm to the population; checks that it receives a ref-to-array as input, croaks if it does not. Returns a sorted, culled, evaluated population for next generation.


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: 2001/10/25 12:33:11 $ 
  $Header: /cvsroot/opeal/opeal/ParallelAlgorithm.pm,v 1.2 2001/10/25 12:33:11 jmerelo Exp $ 
  $Author: jmerelo $