Uses of Class
io.openml.gearbox.binarytree.MutableTreeNode
Packages that use MutableTreeNode
-
Uses of MutableTreeNode in io.openml.gearbox.binarytree
Methods in io.openml.gearbox.binarytree that return MutableTreeNodeModifier and TypeMethodDescriptionstatic <T> MutableTreeNode<T>
BinaryTree.flatten
(MutableTreeNode<T> root) Flattens a binary tree to a linked list.static <T> MutableTreeNode<T>
BinaryTree.upsideDownBinaryTree
(MutableTreeNode<T> root) Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, this method flips it upside down, turns it into a tree where the original right nodes turned into left leaf nodes, and return the new root.Methods in io.openml.gearbox.binarytree with parameters of type MutableTreeNodeModifier and TypeMethodDescriptionstatic <T> MutableTreeNode<T>
BinaryTree.flatten
(MutableTreeNode<T> root) Flattens a binary tree to a linked list.static <T> MutableTreeNode<T>
BinaryTree.upsideDownBinaryTree
(MutableTreeNode<T> root) Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, this method flips it upside down, turns it into a tree where the original right nodes turned into left leaf nodes, and return the new root.void
AbstractInOrderTraversalVisitor.visit
(MutableTreeNode<T> node) void
AbstractPostOrderTraversalVisitor.visit
(MutableTreeNode<T> node) void
AbstractPreOrderTraversalVisitor.visit
(MutableTreeNode<T> node) void
Visitor.visit
(MutableTreeNode<T> node) Visits aMutableTreeNode
.