Back to index

python-biopython  1.60
Public Member Functions
Bio.GA.Crossover.Point.SinglePointCrossover Class Reference
Inheritance diagram for Bio.GA.Crossover.Point.SinglePointCrossover:
Inheritance graph
[legend]
Collaboration diagram for Bio.GA.Crossover.Point.SinglePointCrossover:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Detailed Description

Perform point crossover between genomes at some defined rate.

This performs a crossover between two genomes at some defined 
frequency.  Length of genome is preserved, as the crossover 
point is the same for either genome.

Definition at line 16 of file Point.py.


Constructor & Destructor Documentation

def Bio.GA.Crossover.Point.SinglePointCrossover.__init__ (   self,
  crossover_prob = .1 
)
Initialize to do crossovers at the specified probability.

Definition at line 23 of file Point.py.

00023 
00024     def __init__(self, crossover_prob = .1):
00025         """Initialize to do crossovers at the specified probability.
00026         """
00027         TwoCrossover.__init__(self, 1, crossover_prob)

Here is the caller graph for this function:


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