Uses of Interface
io.openml.gearbox.algorithms.binarytree.Visitor
Packages that use Visitor
-
Uses of Visitor in io.openml.gearbox.algorithms.binarytree
Classes in io.openml.gearbox.algorithms.binarytree that implement VisitorModifier and TypeClassDescriptionclassAn abstractVisitorthat performs a non-recursive (iterative) in-order traversal of a binary tree.classAn abstractVisitorthat performs an iterative post-order traversal (Left, Right, Root).classAn abstractVisitorthat performs an iterative pre-order traversal (Root, Left, Right).Methods in io.openml.gearbox.algorithms.binarytree with parameters of type VisitorModifier and TypeMethodDescriptionvoidvoidvoidThe entry point for the visitor to perform its operations on this object.voidTreeTraverser.traverseInOrder(TreeNode<T> root, Visitor<T> visitor) Performs an iterative in-order traversal of the tree structure.voidTreeTraverser.traversePostOrder(TreeNode<T> root, Visitor<T> visitor) Performs an iterative post-order traversal (Left, Right, Root).voidTreeTraverser.traversePreOrder(TreeNode<T> root, Visitor<T> visitor) Performs an iterative pre-order traversal (Root, Left, Right).