besmarts.core.tree_iterators module¶
besmarts.core.tree_iterators
Iterators for traversing trees.tree_index objects
- besmarts.core.tree_iterators.tree_iter_breadth_first(hidx: tree_index, v: tree_node, select=None, state=None)[source]¶
- besmarts.core.tree_iterators.tree_iter_breadth_first_single(hidx: tree_index, v: tree_node, select=None, state=None)[source]¶
- besmarts.core.tree_iterators.tree_iter_depth_first(hidx: tree_index, v: tree_node, select=None, state=None)[source]¶
- besmarts.core.tree_iterators.tree_iter_depth_first_single(hidx: tree_index, v: tree_node, select=None, state=None)[source]¶
- besmarts.core.tree_iterators.tree_iter_dive_single_reverse(hidx, v, select=None, state=None)[source]¶
- besmarts.core.tree_iterators.yield_single(hidx: tree_index, v: tree_node)[source]¶