AlgoTree¶
- AlgoTree package
- Submodules
- AlgoTree.dsl module
- AlgoTree.exporters module
- AlgoTree.flat_forest module
FlatForest
FlatForest.DETACHED_KEY
FlatForest.PARENT_KEY
FlatForest.add_child()
FlatForest.as_tree()
FlatForest.check_valid()
FlatForest.child_names()
FlatForest.children
FlatForest.contains()
FlatForest.detach()
FlatForest.detached
FlatForest.interior_node_names()
FlatForest.is_valid()
FlatForest.logical_root_names()
FlatForest.name
FlatForest.node()
FlatForest.node_names()
FlatForest.nodes()
FlatForest.parent
FlatForest.payload
FlatForest.preferred_root
FlatForest.purge()
FlatForest.root
FlatForest.root_key()
FlatForest.root_names
FlatForest.roots
FlatForest.spec()
FlatForest.subtree()
FlatForest.to_dict()
FlatForest.trees
- AlgoTree.flat_forest_node module
FlatForestNode
FlatForestNode.add_child()
FlatForestNode.children
FlatForestNode.clone()
FlatForestNode.contains()
FlatForestNode.detach()
FlatForestNode.forest
FlatForestNode.name
FlatForestNode.node()
FlatForestNode.parent
FlatForestNode.payload
FlatForestNode.proxy()
FlatForestNode.root
FlatForestNode.subtree()
FlatForestNode.to_dict()
- AlgoTree.fluent module
FluentNode
FluentNode.children()
FluentNode.count()
FluentNode.descendants()
FluentNode.each()
FluentNode.filter()
FluentNode.first()
FluentNode.leaves()
FluentNode.map()
FluentNode.match()
FluentNode.prune()
FluentNode.replace_matches()
FluentNode.sort()
FluentNode.to_dict()
FluentNode.to_list()
FluentNode.where()
TreeBuilder
- AlgoTree.node module
- AlgoTree.node_hasher module
- AlgoTree.pattern_matcher module
- AlgoTree.pretty_tree module
- AlgoTree.serialization module
- AlgoTree.tree_converter module
- AlgoTree.tree_hasher module
- AlgoTree.tree_shaper module
- AlgoTree.tree_transformer module
- AlgoTree.treenode module
- AlgoTree.treenode_api module
- AlgoTree.utils module
ancestors()
average_distance()
breadth_first()
breadth_first_undirected()
depth()
descendants()
distance()
find_node()
find_nodes()
find_path()
height()
is_internal()
is_isomorphic()
is_leaf()
is_root()
lca()
leaves()
map()
node_stats()
node_to_leaf_paths()
path()
paths_to_tree()
prune()
siblings()
size()
subtree_centered_at()
subtree_rooted_at()
visit()
- Module contents
FluentNode
FluentNode.children()
FluentNode.count()
FluentNode.descendants()
FluentNode.each()
FluentNode.filter()
FluentNode.first()
FluentNode.leaves()
FluentNode.map()
FluentNode.match()
FluentNode.prune()
FluentNode.replace_matches()
FluentNode.sort()
FluentNode.to_dict()
FluentNode.to_list()
FluentNode.where()
MatchType
Node
Pattern
PatternMatcher
PrettyTree
TreeBuilder
TreeDSL
TreeExporter
dotannotate()
dotcollect()
dotcount()
dotexists()
dotextract()
dotfilter()
dotflatten()
dotgraft()
dotgroup()
dotmap()
dotmatch()
dotmerge()
dotmod()
dotnormalize()
dotpartition()
dotpipe()
dotpluck()
dotproject()
dotprune()
dotreduce()
dotsplit()
dotvalidate()
dumps()
export_tree()
load()
loads()
parse_tree()
pattern_match()
pretty_tree()
save()
save_tree()
to_adjacency_list()
to_dict()
to_edge_list()
to_graphviz_data()
to_json_schema()
to_list()
to_nested_lists()
to_paths()
to_table()