- Base Class
Algorithm::Evolutionary::Op::String_Mutation - Single character string mutation
#Create from scratch with priority = 2 my $op = new Algorithm::Evolutionary::Op::String_Mutation 2;
Mutation operator for a GA; changes a single character in the string.
new( [$how_many] [,$priority] )
Creates a new mutation operator with an application rate that defaults to 0.5, and an operator application rate (general for all ops), which defaults to 1.
Creates a new mutation operator.
apply( $chromosome )
Applies mutation operator to a "Chromosome", a string, really.
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: 2013/01/05 12:01:58 $ $Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/String_Mutation.pm,v 3.7 2013/01/05 12:01:58 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.7 $ $Name $