Please use this identifier to cite or link to this item: http://hdl.handle.net/20.500.12188/24206
Title: The Binary Tree Roll Operation: Definition, Explanation and Algorithm
Authors: Bozhinovski, Adrijan
Ackovska, Nevena 
Keywords: binary tree, roll, operation, turning, downshift, algorithm
Issue Date: 2012
Journal: International Journal of Computer Applications
Abstract: The paper introduces an operation on a binary tree, called binary tree roll, or roll of a binary tree. Two versions of the binary tree roll, counterclockwise and clockwise, are presented. The operations are mathematically defined and graphically presented. It is explained how the binary tree roll actually coincides with the process of turning the entire tree 90 degrees counterclockwise or clockwise. To visually explain and perform the roll operation, the concepts of a wedge node, true ancestor, illusory ancestor, illusory root and illusory ancestral stem of nodes are introduced, as well as the visual operations of turning and downshift. Both roll operations are implemented using programming algorithms. The algorithms are explained, and all the situations that might be encountered during processing the roll operation are examined and resolved. Thus, the paper gives a mathematical introduction of both binary tree roll operations, gives their visual explanations and offers algorithms for their implementations using a computer.
URI: http://hdl.handle.net/20.500.12188/24206
Appears in Collections:Faculty of Computer Science and Engineering: Journal Articles

Files in This Item:
File Description SizeFormat 
pxc3879425.pdf879.15 kBAdobe PDFView/Open
Show full item record

Page view(s)

45
checked on Apr 28, 2024

Download(s)

41
checked on Apr 28, 2024

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.