NAME

Algorithm::Evolutionary::Fitness::Rastrigin - Implementation of Rastrigin's function

SYNOPSIS

my $n_dimensions=2;  #Max. number of elements to choose
my $rastrigin = Algorithm::Evolutionary::Fitness::Rastrigin->new( $n_dimensions ); 

DESCRIPTION

Classical Rastrigin function, used for tests of numerical optimization problems. Check it at http://www-optima.amp.i.kyoto-u.ac.jp/member/student/hedar/Hedar_files/TestGO_files/Page2607.htm

METHODS

new

Creates a new instance of the problem, with the said number of bits and peaks

Rastrigin

Applies the knapsack problem to the string, using a penalty function

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: 2010/09/28 19:41:26 $ 
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Fitness/Rastrigin.pm,v 3.3 2010/09/28 19:41:26 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 3.3 $
$Name $