pythonbiopython
1.60

Public Member Functions  
def  __init__ 
Perform two point crossover between genomes at some defined rate. This performs a crossover between two genomes at some defined frequency. The location of the points of crossover are chosen randomly if the crossover meets the probability to occur.
Definition at line 21 of file TwoPoint.py.
def Bio.GA.Crossover.TwoPoint.TwoPointCrossover.__init__  (  self,  
crossover_prob = .1 

) 
Initialize to do crossovers at the specified probability.
Definition at line 28 of file TwoPoint.py.
00028 00029 def __init__(self, crossover_prob = .1): 00030 """Initialize to do crossovers at the specified probability. 00031 """ 00032 TwoCrossover.__init__(self, 2, crossover_prob)