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:
-
copy - a copy of this node
-
fragment - fragment to be given to mate
-
lst - list within copy tree to which fragment from mate should
be written
-
idx - index within the lst at which the fragment should be
written
if doSplit is false, then the last 3 tuple items will be None
-
|