Enumerating All Rooted Trees Including k Leaves

被引:0
|
作者
Ishikawa, Masanobu [1 ]
Yamanaka, Katsuhisa [2 ]
Otachi, Yota [3 ]
Nakano, Shin-ichi [1 ]
机构
[1] Gunma Univ, Dept Comp Sci, Kiryu, Gunma 3768515, Japan
[2] Iwate Univ, Dept Elect Engn & Comp Sci, Morioka, Iwate 0208551, Japan
[3] Tohoku Univ, Grad Sch Informat Sci, Sendai, Miyagi 9808579, Japan
来源
关键词
graph algorithm; enumeration; rooted tree; family tree; CONSTANT-TIME GENERATION; EFFICIENT GENERATION;
D O I
10.1587/transinf.E95.D.763
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents an efficient algorithm to generate all (unordered) rooted trees with exactly vertices including exactly k leaves. There are known results on efficient enumerations of some classes of graphs embedded on a plane, for instance, biconnected and triconnected triangulations [3], [6], and floorplans [4]. On the other hand, it is difficult to enumerate a class of graphs without a fixed embedding. The paper is on enumeration of rooted trees without a fixed embedding. We already proposed an algorithm to generate all "ordered" trees with 17 vertices including k leaves [11], while the algorithm cannot seem to efficiently generate all (unordered) rooted trees with it vertices including k leaves. We design a simple tree structure among such trees, then by traversing the tree structure we generate all such trees in constant time per tree in the worst case. By repeatedly applying the algorithm for each k = 1, 2, . . . , n - 1, we can also generate all rooted trees with exactly n vertices.
引用
收藏
页码:763 / 768
页数:6
相关论文
共 50 条
  • [22] A parallel algorithm for enumerating all the maximal k-plexes
    Wu, Bin
    Pei, Xin
    EMERGING TECHNOLOGIES IN KNOWLEDGE DISCOVERY AND DATA MINING, 2007, 4819 : 476 - +
  • [23] Generalizing the Connes Moscovici Hopf algebra to contain all rooted trees
    Agarwala, Susama
    Delaney, Colleen
    JOURNAL OF MATHEMATICAL PHYSICS, 2015, 56 (04)
  • [24] Enumerations of vertices among all rooted ordered trees with levels and degrees
    Eu, Sen-Peng
    Seo, Seunghyun
    Shin, Heesung
    DISCRETE MATHEMATICS, 2017, 340 (09) : 2123 - 2129
  • [25] Building Cartesian trees from free trees with k leaves
    Dean, Brian C.
    Mohan, Raghuveer
    INFORMATION PROCESSING LETTERS, 2013, 113 (09) : 345 - 349
  • [26] Enumerating combinatorial resultant trees
    Malic, Goran
    Streinu, Ileana
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2024, 118
  • [27] LEXICOGRAPHIC GENERATION OF ROOTED TREES AND TREES
    LIU, JH
    KEXUE TONGBAO, 1983, 28 (04): : 448 - 451
  • [28] Enumerating Distinct Decision Trees
    Ruggieri, Salvatore
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 70, 2017, 70
  • [29] Runoff on rooted trees
    Jones, Owen Dafydd
    JOURNAL OF APPLIED PROBABILITY, 2019, 56 (04) : 1065 - 1085
  • [30] Arithmetic for Rooted Trees
    Luccio, Fabrizio
    THEORY OF COMPUTING SYSTEMS, 2017, 60 (01) : 33 - 52