Home | Trees | Index | Help |
|
---|
Package pygene :: Module prog :: Class FuncNode |
|
BaseNode
--+
|
FuncNode
Method Summary | |
---|---|
creates this func node | |
evaluates this node, plugging vars into the nodes | |
Copies this node and recursively its children, returning the copy | |
dump(self,
level)
| |
randomly mutates either this tree, or a child |
Method Details |
---|
__init__(self,
org,
depth,
name=None,
children=None)
creates this func node
|
calc(self, **vars)evaluates this node, plugging vars into the nodes
|
copy(self, doSplit=False)Copies this node and recursively its children, returning the copy if doSplit is true, then cuts off a piece of the tree, to support the recombination phase of mating with another program returns a quadruple:
|
mutate(self, depth)randomly mutates either this tree, or a child |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 12 14:37:12 2005 | http://epydoc.sf.net |