Algorithm::Evolutionary::Fitness::Rastrigin - Implementation of Rastrigin's
function
my $n_dimensions=2; #Max. number of elements to choose
my $rastrigin = Algorithm::Evolutionary::Fitness::Rastrigin->new( $n_dimensions );
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>
Creates a new instance of the problem, with the said number of bits and peaks
Applies the knapsack problem to the string, using a penalty function
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: /media/Backup/Repos/opeal/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 $