| Home | Trees | Indices | Help |
|---|
|
|
Walker --+
|
SumWalker
SumWalker is designed to walk over full trees where each leaf has annotation 1 and the monoid is +. Target is the zero-indexed position of the target node.
There is one exception: the last node in every tree has annotation 0.
|
|||
|
|||
| int |
|
||
|
|||
| bool |
|
||
|
|||
target = None
|
|||
offset = None
|
|||
|
|||
An optional method to prepare for descent
|
|
An optional method to prepare for ascent
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 17 14:53:05 2009 | http://epydoc.sourceforge.net |