Trees | Index | Help |
---|
Package Bio :: Package GA :: Package Repair :: Module Stabilizing :: Class AmbiguousRepair |
|
Perform repair to reduce the number of Ambiguous genes in a genome.
In cases where ambiguous genes are allowed in a genome (for example, where you have a wild card character like '*' that will match anything), these can come to dominate a genome since, really, the best fitness is someting like '*******'. This repair protects against that by changing ambiguous characters into some non-ambiguous gene.Method Summary | |
---|---|
Initialize the repair class. | |
Perform a repair to remove excess ambiguous genes. |
Method Details |
---|
__init__(self,
ambig_finder,
num_ambiguous)
|
repair(self, organism)Perform a repair to remove excess ambiguous genes. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:43:47 2007 | http://epydoc.sf.net |