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