Pivot Gray Codes for the Spanning Trees of a Graph ft. the Fan

02/03/2022
by   Ben Cameron, et al.
0

We consider the problem of listing all spanning trees of a graph G such that successive trees differ by pivoting a single edge around a vertex. Such a listing is called a "pivot Gray code", and it has more stringent conditions than known "revolving-door" Gray codes for spanning trees. Most revolving-door algorithms employ a standard edge-deletion/edge-contraction recursive approach which we demonstrate presents natural challenges when requiring the "pivot" property. Our main result is the discovery of a greedy strategy to list the spanning trees of the fan graph in a pivot Gray code order. 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. Finally, we discuss how our listing can be applied to find a pivot Gray code for the wheel graph.

READ FULL TEXT

page 2

page 11

page 12

page 20

page 21

page 22

page 23

research
08/20/2021

A Pivot Gray Code Listing for the Spanning Trees of the Fan Graph

We use a greedy strategy to list the spanning trees of the fan graph, F_...
research
06/25/2020

Reconfiguration of Spanning Trees with Many or Few Leaves

Let G be a graph and T_1,T_2 be two spanning trees of G. We say that T_1...
research
02/02/2022

Combinatorial Gray codes-an updated survey

A combinatorial Gray code for a class of objects is a listing that conta...
research
09/27/2018

(g,f)-Chromatic spanning trees and forests

A heterochromatic (or rainbow) graph is an edge-colored graph whose edge...
research
06/27/2018

Linear Algebra and Number of Spanning Trees

A network-theoretic approach for determining the complexity of a graph i...
research
05/25/2022

Unbiased and Efficient Sampling of Dependency Trees

Distributions over spanning trees are the most common way of computation...
research
04/09/2018

Maximizing the Number of Spanning Trees in a Connected Graph

We study the problem of maximizing the number of spanning trees in a con...

Please sign up or login with your details

Forgot password? Click here to reset