Binary Tree Sequence Rotations and t-ary Tree Enumerations (Paperback)

, ,
In this book, we consider a transformation on binary trees using new types of rotations. Each of the newly proposed rotations is permitted only at nodes on the left-arm or the right-arm of a tree. Consequently, we develop a linear time algorithm with at most n 1 rotations for converting weight sequences between any two binary trees. we use right distance sequences (or RD-sequences for short), to describe all t-ary trees with n internal nodes. Using a t-ary recursion tree and its concomitant tables, a systematical way can help us to investigate the structural representation of t-ary trees. Consequently, we develop efficient algorithms for determining the rank of a given t-ary tree in lexicographic order (i.e., the ranking algorithm), and for converting a positive integer to its corresponding RD-sequence (i.e., the unranking algorithm). Both the ranking and unranking algorithms can be run in O(tn) time and without really building any auxiliary table. In addition, we also present a loopless algorithm to enumerate Gray-codes of t-ary trees using RD-sequences.

R1,310

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles13100
Mobicred@R123pm x 12* Mobicred Info
Free Delivery
Delivery AdviceShips in 10 - 15 working days


Toggle WishListAdd to wish list
Review this Item

Product Description

In this book, we consider a transformation on binary trees using new types of rotations. Each of the newly proposed rotations is permitted only at nodes on the left-arm or the right-arm of a tree. Consequently, we develop a linear time algorithm with at most n 1 rotations for converting weight sequences between any two binary trees. we use right distance sequences (or RD-sequences for short), to describe all t-ary trees with n internal nodes. Using a t-ary recursion tree and its concomitant tables, a systematical way can help us to investigate the structural representation of t-ary trees. Consequently, we develop efficient algorithms for determining the rank of a given t-ary tree in lexicographic order (i.e., the ranking algorithm), and for converting a positive integer to its corresponding RD-sequence (i.e., the unranking algorithm). Both the ranking and unranking algorithms can be run in O(tn) time and without really building any auxiliary table. In addition, we also present a loopless algorithm to enumerate Gray-codes of t-ary trees using RD-sequences.

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

VDM Verlag

Country of origin

Germany

Release date

July 2009

Availability

Expected to ship within 10 - 15 working days

First published

July 2009

Authors

, ,

Dimensions

229 x 152 x 6mm (L x W x T)

Format

Paperback - Trade

Pages

96

ISBN-13

978-3-639-17634-6

Barcode

9783639176346

Categories

LSN

3-639-17634-0



Trending On Loot