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( $peaks, $bits )

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

_really_apply( $string )

Applies the instantiated problem to a chromosome. Intended for internal use.

p_peaks( $string )

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: 2009/07/24 08:46:59 $ 
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Fitness/P_Peaks.pm,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 3.0 $
$Name $