Table of Contents

Class: SinglePositionMutation Bio/GA/Mutation/Simple.py

Perform a conversion mutation, but only at a single point in the genome.

This does not randomize the genome as much as ConversionMutation, since only one change is allowed per genome at the specified mutation rate.

Methods   
__init__
mutate
  __init__ 
__init__ ( self,  mutation_rate=0.001 )

Initialize a mutator.

Arguments:

  • mutation_rate - The chance of a mutation happening once in the genome.

  mutate 
mutate ( self,  organism )

Mutate the organisms genome.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:10 2002 by HappyDoc version 2.0.1