Function output of the separate_nodes function where the input tree is tree, the nodes are pairs, the existing group is old, and the new group is new
tree
Format:
output of the separate_nodes function where the input tree is tree, the nodes are pairs, the existing group is old, and the new group is new
Input:
list tree -
list pairs -
list old -
list new -
Output:
list - None
Properties that reference this function:
result of splitting pairs into nodes that exist in the tree tree and new nodes = output of the separate_nodes function where the input tree is tree, the nodes are pairs, the existing group is [ ], and the new group is [ ] (Separate old and new begin)
output of the separate_nodes function where the input tree is tree, the nodes are [ ], the existing group is exist, and the new group is new = pair (exist, new) (Separate old and new finished)
Conditional properties that reference this function:
- if tree tree contains value = False, then output of the separate_nodes function where the input tree is tree, the nodes are [ pair (value, weight), rest ], the existing group is exist, and the new group is new = output of the separate_nodes function where the input tree is tree, the nodes are rest, the existing group is exist, and the new group is [ pair (value, weight), new ] (link)
- if index of value value in tree = index, then output of the separate_nodes function where the input tree is tree, the nodes are [ pair (value, weight), rest ], the existing group is exist, and the new group is new = output of the separate_nodes function where the input tree is tree, the nodes are rest, the existing group is [ pair (index, weight), exist ], and the new group is new (link)
Comments
Please log in to add comments