English
Related papers

Related papers: Simple DFS on the Complement of a Graph and on Par…

200 papers

In keyword search over a data graph, an answer is a non-redundant subtree that contains all the keywords of the query. A naive approach to producing all the answers by increasing height is to generalize Dijkstra's algorithm to enumerating…

Databases · Computer Science 2016-05-26 Konstantin Golenberg , Yehoshua Sagiv

We call a graph $G$ separable if a balanced separator can be computed for $G$ of size $O(n^c)$ with $c<1$. Many real-world graphs are separable such as graphs of bounded genus, graphs of constant treewidth, and graphs excluding a fixed…

Data Structures and Algorithms · Computer Science 2025-04-29 Michael Elberfeld , Frank Kammer , Johannes Meintrup

A traversal of a connected graph is a linear ordering of its vertices all of whose initial segments induce connected subgraphs. Traversals, and their refinements such as breadth-first and depth-first traversals, are computed by various…

Logic · Mathematics 2018-10-24 Siddharth Bhaskar , Anton Jay Kienzle

Although Breadth-First Search (BFS) has several advantages over Depth-First Search (DFS) its prohibitive space requirements have meant that algorithm designers often pass it over in favor of DFS. To address this shortcoming, we introduce a…

Software Engineering · Computer Science 2012-07-05 Srinivas Nedunuri , William R. Cook , Douglas R. Smith

Constructing a Depth First Search (DFS) tree is a fundamental graph problem, whose parallel complexity is still not settled. Reif showed parallel intractability of lex-first DFS. In contrast, randomized parallel algorithms (and more…

Data Structures and Algorithms · Computer Science 2025-10-09 Archit Chauhan , Samir Datta , M. Praveen

A partial complement of the graph $G$ is a graph obtained from $G$ by complementing all the edges in one of its induced subgraphs. We study the following algorithmic question: for a given graph $G$ and graph class $\mathcal{G}$, is there a…

Computational Complexity · Computer Science 2020-06-11 Fedor V. Fomin , Petr A. Golovach , Torstein J. F. Strømme , Dimitrios M. Thilikos

We present an optimal oracle for answering connectivity queries in undirected graphs in the presence of at most three vertex failures. Specifically, we show that we can process a graph $G$ in $O(n+m)$ time, in order to build a data…

Data Structures and Algorithms · Computer Science 2025-04-28 Evangelos Kosinas

Search is a central problem in artificial intelligence, and breadth-first search (BFS) and depth-first search (DFS) are the two most fundamental ways to search. In this paper we derive estimates for average BFS and DFS runtime. The average…

Artificial Intelligence · Computer Science 2018-04-13 Tom Everitt , Marcus Hutter

We present a new algorithm for maintaining a DFS tree of an arbitrary directed graph under any sequence of edge insertions. Our algorithm requires a total of $O(m\cdot n)$ time in the worst case to process a sequence of edge insertions,…

Data Structures and Algorithms · Computer Science 2022-02-24 Giorgio Ausiello , Paolo G. Franciosa , Giuseppe F. Italiano , Andrea Ribichini

We call a digraph {\em $h$-semicomplete} if each vertex of the digraph has at most $h$ non-neighbors, where a non-neighbor of a vertex $v$ is a vertex $u \neq v$ such that there is no edge between $u$ and $v$ in either direction. This…

Data Structures and Algorithms · Computer Science 2015-07-08 Kenta Kitsunai , Yasuaki Kobayashi , Hisao Tamaki

We define and study analogs of probabilistic tree embedding and tree cover for directed graphs. We define the notion of a DAG cover of a general directed graph $G$: a small collection $D_1,\dots D_g$ of DAGs so that for all pairs of…

Data Structures and Algorithms · Computer Science 2025-04-16 Sepehr Assadi , Gary Hoppenworth , Nicole Wein

Recent work by Elmasry et al. (STACS 2015) and Asano et al. (ISAAC 2014), reconsidered classical fundamental graph algorithms focusing on improving the space complexity. We continue this line of work focusing on space. Our first result is a…

Data Structures and Algorithms · Computer Science 2017-07-28 Niranka Banerjee , Sankardeep Chakraborty , Venkatesh Raman , Srinivasa Rao Satti

Random graph matching refers to recovering the underlying vertex correspondence between two random graphs with correlated edges; a prominent example is when the two random graphs are given by Erd\H{o}s-R\'{e}nyi graphs $G(n,\frac{d}{n})$.…

Machine Learning · Statistics 2020-07-21 Jian Ding , Zongming Ma , Yihong Wu , Jiaming Xu

The dual of a planar graph $G$ is a planar graph $G^*$ that has a vertex for each face of $G$ and an edge for each pair of adjacent faces of $G$. The profound relationship between a planar graph and its dual has been the algorithmic basis…

Distributed, Parallel, and Cluster Computing · Computer Science 2025-10-23 Yaseen Abd-Elhaleem , Michal Dory , Merav Parter , Oren Weimann

We design $f$-edge fault-tolerant diameter oracles ($f$-FDOs). We preprocess a given graph $G$ on $n$ vertices and $m$ edges, and a positive integer $f$, to construct a data structure that, when queried with a set $F$ of $|F| \leq f$ edges,…

Data Structures and Algorithms · Computer Science 2021-07-09 Davide Bilò , Sarel Cohen , Tobias Friedrich , Martin Schirneck

Evolving graphs arise in problems where interrelations between data change over time. We present a breadth first search (BFS) algorithm for evolving graphs that computes the most direct influences between nodes at two different times. Using…

Social and Information Networks · Computer Science 2016-03-07 Jiahao Chen , Weijian Zhang

One of the simplest problems on directed graphs is that of identifying the set of vertices reachable from a designated source vertex. This problem can be solved easily sequentially by performing a graph search, but efficient parallel…

Data Structures and Algorithms · Computer Science 2017-11-07 Jeremy T. Fineman

Many degree sequences can only be realised in graphs that contain a `ds-completable card', defined as a vertex-deleted subgraph in which the erstwhile neighbours of the deleted vertex can be identified from their degrees, if one knows the…

Combinatorics · Mathematics 2018-10-08 Andrew M. Steane

There has been a rise in the popularity of algebraic methods for graph algorithms given the development of the GraphBLAS library and other sparse matrix methods. An exemplar for these approaches is Breadth-First Search (BFS). The algebraic…

Data Structures and Algorithms · Computer Science 2021-05-14 Paul Burkhardt

A flow graph $G=(V,E,s)$ is a directed graph with a distinguished start vertex $s$. The dominator tree $D$ of $G$ is a tree rooted at $s$, such that a vertex $v$ is an ancestor of a vertex $w$ if and only if all paths from $s$ to $w$…

Data Structures and Algorithms · Computer Science 2016-08-24 Loukas Georgiadis , Aikaterini Karanasiou , Giannis Konstantinos , Luigi Laura