8 research outputs found
On Rotations and the Generation of Binary Trees
The rotation graph, G n , has vertex set consisting of all binary trees with n nodes. Two vertices are connected by an edge if a single rotation will transform one tree into the other. We provide a simpler proof of a result of Lucas [7] that G n contains a Hamilton path. Our proof deals directly with the pointer representation of the binary tree. This proof provides the basis of an algorithm for generating all binary trees that can be implemented to run on a pointer machine and to use only constant time between the output of successive trees. Ranking and unranking algorithms are developed for the ordering of binary trees implied by the generation algorithm. These algorithms have time complexity O(n 2 ) (arithmetic operations). We also show strong relationships amongst various representations of binary trees and amongst binary tree generation algorithms that have recently appeared in the literature. Current address: SUNY Brockport, Mathematics & Computer Science Dept., Brockport, ..
On Parallel Generation of t-ary Trees in an Associative Model
In this paper a new parallel algorithm is presented for generation of t--ary trees. Computations run in an associative processor model
Hamiltonian paths for involutions in the square of a Cayley graph
International audienc
A Parallel Dynamic Programming Algorithm for Unranking t-ary Trees
In this paper an O(n) parallel algorithm is presented for fast unranking t--ary trees with n internal nodes in Zaks' representation