扇图生成树的枢轴格雷码表
A Pivot Gray Code Listing for the Spanning Trees of the Fan Graph
摘要:
我们使用一个贪婪的策略来列出扇形图的生成树,$F_n$,使得连续的树通过围绕一个顶点旋转一条边而不同。它是第一个使用这种最小变化操作来穷举生成生成树的贪心算法。然后研究所得到的列表,以找到一种递归算法,该算法使用$O(n)$空间在$O(1)$摊销时间中产生相同的列表。此外,我们提出了$O(n)$ -时间算法的排名和取消排名的生成树,我们的上市,一个改进的通用$O(n^3)$ -时间算法的排名和取消排名的生成树的任意图形。
英文摘要:
We use a greedy strategy to list the spanning trees of the fan graph, $F_n$, such that successive trees differ by pivoting a single edge around a vertex. It is the first greedy algorithm for exhaustively generating spanning trees using such a minimal change operation. The resulting listing is then studied to find a recursive algorithm that produces the same listing in $O(1)$-amortized time using $O(n)$ space. Additionally, we present $O(n)$-time algorithms for ranking and unranking the spanning trees for our listing; an improvement over the generic $O(n^3)$-time algorithm for ranking and unranking spanning trees of an arbitrary graph.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。