کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
434879 689820 2012 6 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Efficient enumeration of ordered trees with k leaves
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Efficient enumeration of ordered trees with k leaves
چکیده انگلیسی

This paper presents a simple algorithm to generate all ordered trees with exactly n vertices including exactly k leaves. The best known algorithm generates such trees in O(n−k) time per tree, whereas our algorithm generates such trees in O(1) time per tree in the worst case.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 442, 13 July 2012, Pages 22-27