Algorithm::Evolutionary::Op::String_Mutation - Single character string mutation
#Create from scratch with priority = 2 my $op = new Algorithm::Evolutionary::Op::String_Mutation 2;
Algorithm::Evolutionary::Op::Base
Mutation operator for a GA; changes a single bit in the string; does not need a rate
Creates a new mutation operator with a bitflip application rate, which defaults to 0.5, and an operator application rate (general for all ops), which defaults to 1.
Creates a new mutation operator.
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: 2011/02/14 06:55:36 $ $Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/String_Mutation.pm,v 3.5 2011/02/14 06:55:36 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.5 $ $Name $
To install Algorithm::Evolutionary, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Evolutionary
CPAN shell
perl -MCPAN -e shell install Algorithm::Evolutionary
For more information on module installation, please visit the detailed CPAN module installation guide.