English

Algorithms for Generating Convex Sets in Acyclic Digraphs

Discrete Mathematics 2007-12-18 v1 Data Structures and Algorithms

Abstract

A set XX of vertices of an acyclic digraph DD is convex if XX\neq \emptyset and there is no directed path between vertices of XX which contains a vertex not in XX. A set XX is connected if XX\neq \emptyset and the underlying undirected graph of the subgraph of DD induced by XX 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\cal A for enumeration of all connected convex sets of an acyclic digraph DD of order nn. The time complexity of A\cal A is O(ncc(D))O(n\cdot cc(D)), where cc(D)cc(D) is the number of connected convex sets in DD. We also give an optimal algorithm for enumeration of all (not just connected) convex sets of an acyclic digraph DD of order nn. In computational experiments we demonstrate that our algorithms outperform the best algorithms in the literature. Using the same approach as for A\cal A, we design an algorithm for generating all connected sets of a connected undirected graph GG. The complexity of the algorithm is O(nc(G)),O(n\cdot c(G)), where nn is the order of GG and c(G)c(G) is the number of connected sets of G.G. The previously reported algorithm for connected set enumeration is of running time O(mnc(G))O(mn\cdot c(G)), where mm is the number of edges in G.G.

Keywords

Cite

@article{arxiv.0712.2661,
  title  = {Algorithms for Generating Convex Sets in Acyclic Digraphs},
  author = {P. Balister and S. Gerke and G. Gutin and A. Johnstone and J. Reddington and E. Scott and A. Soleimanfallah and A. Yeo},
  journal= {arXiv preprint arXiv:0712.2661},
  year   = {2007}
}
R2 v1 2026-06-21T09:54:44.191Z