AlgoTreeΒΆ
- AlgoTree package
- Submodules
- AlgoTree.dsl module
- AlgoTree.exporters module
- AlgoTree.flat_forest module
FlatForestFlatForest.DETACHED_KEYFlatForest.PARENT_KEYFlatForest.add_child()FlatForest.as_tree()FlatForest.check_valid()FlatForest.child_names()FlatForest.childrenFlatForest.contains()FlatForest.detach()FlatForest.detachedFlatForest.interior_node_names()FlatForest.is_valid()FlatForest.logical_root_names()FlatForest.nameFlatForest.node()FlatForest.node_names()FlatForest.nodes()FlatForest.parentFlatForest.payloadFlatForest.preferred_rootFlatForest.purge()FlatForest.rootFlatForest.root_key()FlatForest.root_namesFlatForest.rootsFlatForest.spec()FlatForest.subtree()FlatForest.to_dict()FlatForest.trees
- AlgoTree.flat_forest_node module
FlatForestNodeFlatForestNode.add_child()FlatForestNode.childrenFlatForestNode.clone()FlatForestNode.contains()FlatForestNode.detach()FlatForestNode.forestFlatForestNode.nameFlatForestNode.node()FlatForestNode.parentFlatForestNode.payloadFlatForestNode.proxy()FlatForestNode.rootFlatForestNode.subtree()FlatForestNode.to_dict()
- AlgoTree.fluent module
FluentNodeFluentNode.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
FluentNodeFluentNode.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()
MatchTypeNodePatternPatternMatcherPrettyTreeTreeBuilderTreeDSLTreeExporterdotannotate()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()