++ed by:
EGOR

1 PAUSE user
1 non-PAUSE user.

J. J. Merelo-Guervós
and 1 contributors

NAME

Algorithm::Evolutionary::Op::Eval::General - General and simple population evaluator

SYNOPSIS

Base Class

Algorithm::Evolutionary::Op::Base

DESCRIPTION

A general evaluator: applies an evaluation function to each member of the population

METHODS

new( $evaluation_function )

Creates an algorithm, with no defaults except for the default replacement operator (defaults to Algorithm::Evolutionary::Op::ReplaceWorst)

set( $ref_to_params_hash, $ref_to_code_hash, $ref_to_operators_hash )

Sets the instance variables. Takes a ref-to-hash as input. Not intended to be used from outside the class

apply( $population )

Evaluates the population, setting its fitness value

SEE ALSO

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/07/24 08:46:59 $ 
  $Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Eval/General.pm,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ 
  $Author: jmerelo $ 
  $Revision: 3.0 $