计算机科学 > 数据结构与算法
[提交于 2024年6月24日]
标题:Optimal Generation of Strictly Increasing Binary Trees and Beyond
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This article presents two novel algorithms for generating random increasing trees. The first algorithm efficiently generates strictly increasing binary trees using an ad hoc method. The second algorithm improves the recursive method for weighted strictly increasing unary-binary increasing trees, optimizing randomness usage.
提交历史
来自:EPTCS[v1] 2024年6月24日 星期一 08:02:44 UTC