A Pivot Gray Code Listing for the Spanning Trees of the Fan Graph
arXiv:2108.09363
Abstract
We use a greedy strategy to list the spanning trees of the fan graph, , 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 -amortized time using space. Additionally, we present -time algorithms for ranking and unranking the spanning trees for our listing; an improvement over the generic -time algorithm for ranking and unranking spanning trees of an arbitrary graph.
Accepted for publication in International Computing and Combinatorics Conference (COCOON 2021)