NAME
Algorithm::Evolutionary::Fitness::P_Peaks - P Peaks problem generator
SYNOPSIS
my $number_of_peaks = 100;
my $number_of_bits = 32;
my $p_peaks = Algorithm::Evolutionary::Fitness::P_Peaks->new( $number_of_peaks, $number_of_bits );
DESCRIPTION
P_Peaks fitness function; optimizes the distance to the closest in a series of peaks
METHODS
new
Creates a new instance of the problem, with the said number of bits and peaks
random_string
Returns random string in the same style than the peaks. Useful for testing
_apply
Applies the instantiated problem to a chromosome
p_peaks
Applies the instantiated problem to a string
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: 2008/06/23 11:27:10 $
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Fitness/P_Peaks.pm,v 1.9 2008/06/23 11:27:10 jmerelo Exp $
$Author: jmerelo $
$Revision: 1.9 $
$Name $