pydistsim.utils.tree
Set of utils that operate on network nodes when they have defined tree in their memory under tree_key key. tree_key – key in node memory (dictionary) where parent and
children data is stored in format: {‘parent’: parent_node,
‘children’: [child_node1, child_node2 …]}
Functions
Return root node in network tree. |
Exceptions
|
|