English

On testing single connectedness in directed graphs and some related problems

Data Structures and Algorithms 2015-03-03 v2

Abstract

Let G=(V,E)G=(V,E) be a directed graph with nn vertices and mm edges. The graph GG is called singly-connected if for each pair of vertices v,wVv,w \in V there is at most one simple path from vv to ww in GG. Buchsbaum and Carlisle (1993) gave an algorithm for testing whether GG is singly-connected in O(n2)O(n^{2}) time. In this paper we describe a refined version of this algorithm with running time O(st+m)O(s\cdot t+m), where ss and tt are the number of sources and sinks, respectively, in the reduced graph GrG^{r} obtained by first contracting each strongly connected component of GG into one vertex and then eliminating vertices of indegree or outdegree 11 by a contraction operation. Moreover, we show that the problem of finding a minimum cardinality edge subset CEC\subseteq E (respectively, vertex subset FVF\subseteq V) whose removal from GG leaves a singly-connected graph is NP-hard.

Keywords

Cite

@article{arxiv.1412.1639,
  title  = {On testing single connectedness in directed graphs and some related problems},
  author = {Martin Dietzfelbinger and Raed Jaberi},
  journal= {arXiv preprint arXiv:1412.1639},
  year   = {2015}
}
R2 v1 2026-06-22T07:20:19.427Z