Skip to content
ISBN: 3639176340
ISBN13: 9783639176346

Binary Tree Sequence Rotations and t-ary Tree Enumerations

ISBN: 3639176340
ISBN13: 9783639176346
Formats

Conditions

Formats

Conditions

See all 1 editions

Book Overview

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." This description may be from another edition of this product.
Format:
Paperback
Language:
English
ISBN:
3639176340
ISBN13:
9783639176346
Release Date:
August 2009
Publisher:
VDM Verlag
Length:
96 Pages
Weight:
0.33 lbs.
Dimensions:
0.2″ × 6.0″ × 9.0″
ComputersComputers & Technology

Customer Reviews

0 customer ratings | 0 reviews
Write a Review

There are currently no reviews. Be the first to review this work.