3.8 Proceedings Paper

Generating Spanning-Tree Sequences of a Fan Graph in Lexicographic Order and Ranking/Unranking Algorithms

期刊

COMBINATORIAL OPTIMIZATION (ISCO 2022)
卷 13526, 期 -, 页码 201-211

出版社

SPRINGER INTERNATIONAL PUBLISHING AG
DOI: 10.1007/978-3-031-18530-4_15

关键词

Spanning trees; Fan graphs; Generation algorithms ranking/unranking algorithms; Constant amortized time algorithms

资金

  1. Ministry of Science and Technology of Taiwan [MOST110-2221-E-262-002, MOST110-2221-E-141-004]

向作者/读者索取更多资源

This paper presents an algorithm for generating all spanning trees of a fan graph and provides methods for ranking and unranking. The time and space complexities of these algorithms are analyzed.
Cameron et al. [27th Int. Conf. Computing and Combinatorics (COCOON 2021), LNCS 13025, pp. 49-60] recently presented an algorithm for generating all spanning trees of a fan graph in O(1)amortized time. The listing of spanning trees fulfills the so-called pivot Gray code property so that successive trees differ by pivoting a single edge around a vertex. They also presented algorithms for ranking and unranking a spanning tree in the listing in O(n) time using O(n) space. In this paper, we first observe that all spanning trees of a fan graph can be naturally represented by integer sequences so that their coding tree has properties with regularity. Then, we propose a simple algorithm for generating spanning-tree sequences in lexicographic order in O(1)amortized time according to these properties. Additionally, based on the lexicographic order, we develop ranking and unranking algorithms in O(n)-time using n + O(1) space (i.e., the size of the space is just slightly larger than n).

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

3.8
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据