| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package brain :: Module gp :: Class GPGene |
|
Gene --+
|
GPGene
| Method Summary | |
|---|---|
__init__(self,
**args)
| |
__str__(self)
| |
Make two new genotypes, or return the old ones. | |
display(self)
| |
Takes a dictionary... | |
Changes points based on mutationRate. | |
Replace operator and (optionally) children. | |
| Inherited from Gene | |
| |
| |
| |
| Method Details |
|---|
crossover(self, parent2, crossoverRate)Make two new genotypes, or return the old ones.
|
eval(self, additionalEnv={})Takes a dictionary |
mutate(self, mutationRate)Changes points based on mutationRate.
|
replaceTree(self, subtree, temp, replaceChildren=1)Replace operator and (optionally) children. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:26 2005 | http://epydoc.sf.net |