Trees | Index | Help |
---|
Package Bio :: Package GA :: Package Mutation :: Module General :: Class SafeFitnessMutation |
|
Perform mutations, but do not allow decreases in organism fitness.
This doesn't actually do any mutation work, but just checks that newly create organisms do not have lower fitnesses.Method Summary | |
---|---|
Initialize to do safe mutations | |
Perform safe mutation of the specified organism. |
Method Details |
---|
__init__(self,
actual_mutation,
accept_less=0.0)
|
mutate(self, org)Perform safe mutation of the specified organism. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:43:50 2007 | http://epydoc.sf.net |