Depth-First Search performance in a random digraph with geometric outdegree distribution

12/30/2022
by   Philippe Jacquet, et al.
0

We present an analysis of the depth-first search algorithm in a random digraph model with independent outdegrees having a geometric distribution. The results include asymptotic results for the depth profile of vertices, the height (maximum depth) and average depth, the number of trees in the forest, the size of the largest and second-largest trees, and the numbers of arcs of different types in the depth-first jungle. Most results are first order. For the height we show an asymptotic normal distribution. This analysis proposed by Donald Knuth in his next to appear volume of The Art of Computer Programming gives interesting insight in one of the most elegant and efficient algorithm for graph analysis due to Tarjan.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/10/2023

On Knuth's conjecture for back and forward arcs in Depth First Search in a random digraph with geometric outdegree distribution

Donald Knuth, in a draft of a coming volume of The Art of Computer Progr...
research
01/13/2023

On a conjecture of Knuth about forward and back arcs

Following Janson's method, we prove a conjecture of Knuth: the numbers o...
research
03/16/2023

Uniform random generations and rejection method(I) with binomial majorant

We present three simple algorithms to uniformly generate `Fibonacci word...
research
04/18/2018

Independent Distributions on a Multi-Branching AND-OR Tree of Height 2

We investigate an AND-OR tree T and a probability distribution d on the ...
research
10/10/2022

Depth-First Grover Search Algorithm on Hybrid Quantum-Classical Computer

We demonstrated the detailed construction of the hybrid quantum-classica...
research
12/09/2011

Information and Search in Computer Chess

The article describes a model of chess based on information theory. A ma...
research
05/15/2018

The degree profile and Gini index of random caterpillar trees

In this paper, we investigate the degree profile and Gini index of rando...

Please sign up or login with your details

Forgot password? Click here to reset