Algorithms for Generating Convex Sets in Acyclic Digraphs
Abstract
A set X of vertices of an acyclic digraph D is convex if X≠ and there is no directed path between vertices of X which contains a vertex not in X. A set X is connected if X≠ and the underlying undirected graph of the subgraph of D induced by X is connected. Connected convex sets and convex sets of acyclic digraphs are of interest in the area of modern embedded processor technology. We construct an algorithm A for enumeration of all connected convex sets of an acyclic digraph D of order n. The time complexity of A is O(n· cc(D)), where cc(D) is the number of connected convex sets in D. We also give an optimal algorithm for enumeration of all (not just connected) convex sets of an acyclic digraph D of order n. In computational experiments we demonstrate that our algorithms outperform the best algorithms in the literature. Using the same approach as for A, we design an algorithm for generating all connected sets of a connected undirected graph G. The complexity of the algorithm is O(n· c(G)), where n is the order of G and c(G) is the number of connected sets of G. The previously reported algorithm for connected set enumeration is of running time O(mn· c(G)), where m is the number of edges in G.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.