Back to index

python-biopython  1.60
Public Member Functions
Bio.GA.Crossover.TwoPoint.TwoPointCrossover Class Reference
Inheritance diagram for Bio.GA.Crossover.TwoPoint.TwoPointCrossover:
Inheritance graph
Collaboration diagram for Bio.GA.Crossover.TwoPoint.TwoPointCrossover:
Collaboration graph

List of all members.

Public Member Functions

def __init__

Detailed Description

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

Constructor & Destructor Documentation

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

00029     def __init__(self, crossover_prob = .1):
00030         """Initialize to do crossovers at the specified probability.
00031         """
00032         TwoCrossover.__init__(self, 2, crossover_prob)

Here is the caller graph for this function:

The documentation for this class was generated from the following file: