Article view

Holonomic equations and efficient random generation of binary trees

By Pierre Lescanne

Article information

Publication
Published 23 February 2024
Institutions at publication
Laboratoire de l'Informatique du Parallélisme
1 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
1 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

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.

Citations per year

Citations per year
YearCitations
2024 0
2025 1
2026 0

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

The newest works citing this article
Citing workYearPublished in
Simple random sampling of binary forests with fixed number of nodes and trees 2025 Theoretical Computer Science

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
France1
Citations from 1 country
Citations by the country of the citing authors
CountryCitations
United States1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.