Trees | Index | Help |
---|
Package Bio :: Package GA :: Package Crossover :: Module Uniform :: Class UniformCrossover |
|
Perform single point crossover between genomes at some defined rates.
This performs a single crossover between two genomes at some defined frequency. The location of the crossover is chosen randomly if the crossover meets the probability to occur.Method Summary | |
---|---|
Initialize to do uniform crossover at the specified probability and frequency. | |
Potentially do a crossover between the two organisms. |
Method Details |
---|
__init__(self,
crossover_prob=0.10000000000000001,
uniform_prob=0.69999999999999996)
Initialize to do uniform crossover at the specified probability and
frequency.
|
do_crossover(self, org_1, org_2)Potentially do a crossover between the two organisms. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:43:49 2007 | http://epydoc.sf.net |