دورية أكاديمية

Holonomic equations and efficient random generation of binary trees

التفاصيل البيبلوغرافية
العنوان: Holonomic equations and efficient random generation of binary trees
المؤلفون: Pierre Lescanne
المصدر: Discrete Mathematics & Theoretical Computer Science, Vol vol. 25:2 (2024)
بيانات النشر: Discrete Mathematics & Theoretical Computer Science, 2024.
سنة النشر: 2024
المجموعة: LCC:Mathematics
مصطلحات موضوعية: combinatorics, random generation, motzkin number, catalan number, binary tree, unary-binary tree, schroeder number, combinatorics random generation motzkin number catalan number binary tree unary-binary tree, [info.info-cc]computer science [cs]/computational complexity [cs.cc], [info.info-ds]computer science [cs]/data structures and algorithms [cs.ds], Mathematics, QA1-939
الوصف: Holonomic equations are recursive equations which allow computing efficiently numbers of combinatoric objects. Rémy showed that the holonomic equation associated with binary trees yields an efficient linear random generator of binary trees. I extend this paradigm to Motzkin trees and Schröder trees and show that despite slight differences my algorithm that generates random Schröder trees has linear expected complexity and my algorithm that generates Motzkin trees is in O(n) expected complexity, only if we can implement a specific oracle with a O(1) complexity. For Motzkin trees, I propose a solution which works well for realistic values (up to size ten millions) and yields an efficient algorithm.
نوع الوثيقة: article
وصف الملف: electronic resource
اللغة: English
تدمد: 1365-8050
Relation: https://dmtcs.episciences.org/10952/pdf; https://doaj.org/toc/1365-8050
DOI: 10.46298/dmtcs.10952
URL الوصول: https://doaj.org/article/d9fd8077e1a34b0b9b9060144ab3e797
رقم الأكسشن: edsdoj.9fd8077e1a34b0b9b9060144ab3e797
قاعدة البيانات: Directory of Open Access Journals
الوصف
تدمد:13658050
DOI:10.46298/dmtcs.10952