Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

An empirical study of dynamic graph algorithms

Conference ·
OSTI ID:416801
 [1];  [2];  [3]
  1. Freie Universitaet Berlin (Germany)
  2. Universita di Salerno (Italy)
  3. Universita Ca Forscari di Venezia (Italy)

We conduct an empirical study on some dynamic graph algorithms which where developed recently. The following implementations were tested and compared with simple algorithms: dynamic connectivity, and dynamic minimum 1 spanning tree based on sparsification by Eppstein et al.; dynamic connectivity based on a very recent paper by Henzinger and King. In our experiments, we considered both random and non-random inputs. Moreover, we present a simplified variant of the algorithm by Henzinger and King, which for random inputs was always faster than the original implementation. Indeed, this variant was among the fastest implementations for random inputs. For non-random inputs, sparsification was the fastest algorithm for small sequences of updates; for medium and large sequences of updates, the original algorithm by Henzinger and King was faster. Perhaps one of the main practical results of this paper is that our implementations of the sophisticated dynamic graph algorithms were faster than simpler algorithms for most practical values of the graph parameters, and competitive with simpler algorithms even in case of very small graphs (say graphs with less than a dozen vertices and edges). From the theoretical point of view, we analyze the average case running time of sparsification and prove that the logarithmic overhead for simple sparsification vanishes for dynamic random graphs.

OSTI ID:
416801
Report Number(s):
CONF-960121--
Country of Publication:
United States
Language:
English

Similar Records

Experimental analysis of dynamic minimum spanning tree algorithms
Conference · Sun Jun 01 00:00:00 EDT 1997 · OSTI ID:471687

Graph certificates, lookahead in dynamic graph problems, and assembly planning in robotics
Conference · Fri Dec 30 23:00:00 EST 1994 · OSTI ID:10116146

ConnectIt: a framework for static and incremental parallel graph connectivity algorithms
Journal Article · Mon Nov 30 23:00:00 EST 2020 · Proceedings of the VLDB Endowment · OSTI ID:1852729