| Trees | Indices | Help |
|---|
|
|
object --+
|
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.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize to do safe mutations Arguments: o actual_mutation - A Mutation class which actually implements mutation. functionality. o accept_less - A probability to accept mutations which generate lower fitness. This allows you to accept some crossovers which reduce fitness, but not all of them.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 18 18:19:25 2011 | http://epydoc.sourceforge.net |