Table of Contents

Class: UniformCrossover Bio/GA/Crossover/Uniform.py

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.

Methods   
__init__
do_crossover
  __init__ 
__init__ (
        self,
        crossover_prob=.1,
        uniform_prob=0.7,
        )

Initialize to do uniform crossover at the specified probability and frequency.

  do_crossover 
do_crossover (
        self,
        org_1,
        org_2,
        )

Potentially do a crossover between the two organisms.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:10 2002 by HappyDoc version 2.0.1