scispace - formally typeset
Journal ArticleDOI

An Optimal Algorithm for Scanning All Spanning Trees of Undirected Graphs

Reads0
Chats0
TLDR
The Shioura and Tamura algorithm is optimal in the sense of both time and space complexities because it decreases the space complexity from O(VE) to O(V + E) while preserving the time complexity.
Abstract
Let G be an undirected graph with V vertices and E edges. Many algorithms have been developed for enumerating all spanning trees in G. Most of the early algorithms use a technique called "backtracking." Recently, several algorithms using a different technique have been proposed by Kapoor and Ramesh (1992), Matsui (1993), and Shioura and Tamura (1993). They find a new spanning tree by exchanging one edge of a current one. This technique has the merit of enabling us to compress the whole output of all spanning trees by outputting only relative changes of edges. Kapoor and Ramesh first proposed an O(N + V + E)-time algorithm by adopting such a "compact" output, where N is the number of spanning trees. Another algorithm with the same time complexity was constructed by Shioura and Tamura. These are optimal in the sense of time complexity but not in terms of space complexity because they take O(VE) space. We refine Shioura and Tamura's algorithm and decrease the space complexity from O(VE) to O(V + E) while preserving the time complexity. Therefore, our algorithm is optimal in the sense of both time and space complexities.

read more

Citations
More filters
Journal ArticleDOI

The evolutionary demography of duplicate genes

TL;DR: The origin of a new function appears to be a very rare fate for a duplicate gene through the generation of microchromosomal rearrangements through reciprocal silencing of alternative copies, which can lead to the passive origin of post-zygotic reproductive barriers in descendant lineages of incipient species.
Journal ArticleDOI

A comparison of phylogenetic network methods using computer simulation

TL;DR: The results highlight the need for more accurate phylogenetic network methods and the importance of detecting and accounting for recombination in phylogenetic studies.
Journal ArticleDOI

On enumerating all minimal solutions of feedback problems

TL;DR: An algorithm that generates all (inclusion-wise) minimal feedback vertex sets of a directed graph G=(V,E) is presented and it is proved that computing the number of minimal feedback arc sets is #P-hard.
Journal ArticleDOI

The problem of the optimal biobjective spanning tree

TL;DR: The solution to the problem of finding the set of optimal spanning trees of a connected graph is described through an algorithm that builds the family of efficient trees, considering two cost functions defined on theSet of edges.
References
More filters
Journal ArticleDOI

Reverse search for enumeration

TL;DR: This paper develops the reverse search technique in a general framework and shows its broader applications to various problems in operations research, combinatorics, and geometry, and proposes new algorithms for listing.
Proceedings ArticleDOI

A pivoting algorithm for convex hulls and vertex enumeration of arrangements and polyhedra

TL;DR: A new pivot-based algorithm which can be used with minor modification for the enumeration of the facets of the convex hull of a set of points, or for the listing of the vertices of an arrangement or of a convex polyhedron, in arbitrary dimension is presented.
Journal ArticleDOI

Bounds on Backtrack Algorithms for Listing Cycles, Paths, and Spanning Trees

TL;DR: Backtrack algorithms for listing certain kinds of subgraphs of a graph are described and analyzed and their applications are analyzed.
Journal ArticleDOI

Finding All Spanning Trees of Directed and Undirected Graphs

TL;DR: An algorithm for finding all spanning trees (arborescences) of a directed graph is presented that uses backtracking and a method for detecting bridges based on depth-first search.
Related Papers (5)