![]() |
![]()
| ![]() |
![]()
NAMEAlgorithm::Evolutionary::Op::GaussianMutation - Changes numeric chromosome components following the gaussian distribution. SYNOPSISmy $op = new Algorithm::Evolutionary::Op::GaussianMutation( 0, 0.05) # With average 0, and 0.05 standard deviation Base ClassAlgorithm::Evolutionary::Op::Base DESCRIPTIONMutation operator for a GA: applies gaussian mutation to a number new( [$average = 0] [, $standard deviation = 1] [, $rate = 1 ]Creates a new mutation operator with an application rate. Rate defaults to 1. createCreates a new mutation operator with an application rate. Rate defaults to 0.1. Called create to distinguish from the classwide ctor, new. It just makes simpler to create a Mutation Operator apply( $chromosome )Applies mutation operator to a "Chromosome", a vector of stuff, really. Can be applied only to victims with the "_array" instance variable; but it checks before application (roughly) that the operand is of type Algorithm::Evolutionary::Individual::Vector. THANKSThis file has been improved with input from Christoph Meißner. CopyrightThis file is released under the GPL. See the LICENSE file included in this distribution, or go to http://www.fsf.org/licenses/gpl.txt
|