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 条
  • [1] ENUMERATING K-WAY TREES
    ATKINSON, MD
    WALKER, L
    INFORMATION PROCESSING LETTERS, 1993, 48 (02) : 73 - 75
  • [2] Enumerating all spanning trees for pairwise comparisons
    Siraj, S.
    Mikhailov, L.
    Keane, J. A.
    COMPUTERS & OPERATIONS RESEARCH, 2012, 39 (02) : 191 - 199
  • [3] Enumerating the k best plane spanning trees
    Marzetta, A
    Nievergelt, J
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2001, 18 (01): : 55 - 64
  • [4] An algorithm for enumerating all spanning trees of a directed graph
    Kapoor, S
    Ramesh, H
    ALGORITHMICA, 2000, 27 (02) : 120 - 130
  • [5] An Algorithm for Enumerating All Spanning Trees of a Directed Graph
    S. Kapoor
    H. Ramesh
    Algorithmica, 2000, 27 : 120 - 130
  • [6] Generation of all rooted trees up to a given height
    Chakraborty, Sumit
    Chakraborty, Maumita
    Pal, Rajat Kumar
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2024, 20 (03) : 467 - 475
  • [7] Enumerating all maximal frequent subtrees in collections of phylogenetic trees
    Deepak, Akshay
    Fernandez-Baca, David
    ALGORITHMS FOR MOLECULAR BIOLOGY, 2014, 9
  • [8] An algorithm for enumerating all directed spanning trees in a directed graph
    Uno, T
    ALGORITHMS AND COMPUTATION, 1996, 1178 : 166 - 173
  • [9] Enumerating all maximal frequent subtrees in collections of phylogenetic trees
    Akshay Deepak
    David Fernández-Baca
    Algorithms for Molecular Biology, 9
  • [10] ENUMERATING ROOTED EULERIAN PLANAR MAPS
    蔡俊亮
    郝荣霞
    刘彦佩
    ActaMathematicaScientia, 2001, (03) : 289 - 294