Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Implementation and Experimental Evaluation of Graph Connectivity Algorithms Using LEDA

Panagiota FatourouContact Information, Paul SpirakisContact Information, Panagiotis ZarafidisContact Information and Anna ZouraContact Information

(6)  Department of Computer Engineering and Informatics, University of Patras, Patras, Greece & Computer Technology Institute, Patras, Greece
(7)  Department of Computer Engineering and Informatics, University of Patras, Patras, Greece
Abstract
In this paper we describe robust and efficient implementations of two graph connectivity algorithms. The implementations are based on the LEDA library of efficient data types and algorithms [18,19]. Moreover, we provide experimental evaluations of the implemented algorithms and we compare their performance to other graph connectivity algorithms currently implemented in LEDA.
The first algorithm is the Karp and Tarjan algorithm [16] for finding the connected components of an undirected graph. The algorithm achieves to find the connected components of a graph G = 〈V,E〉 in O(|V |) expected time. This is the first expected-time algorithm for the static graph connectivity problem implemented in LEDA. The experimental evaluation of the algorithm proves that the algorithm performs well in practice, and establishes that theoretical and experimental results converge. The standard procedure provided by LEDA for finding the connected components of a graph, called COMPONENTS has running time O(|V | + |E|). We have compared the performance of Karp and Tarjan’s algorithm to the one of COMPONENTS and we have proved that there exists a wide class of graphs (those that they are dense) that the performance of the first algorithm dramatically improves upon the one of the second.
The second implemented algorithm is the Nikoletseas, Reif, Spirakis and Yung polylogarithmic algorithm [20] for dynamic graph connectivity. The algorithm can cope with any random sequence of three kinds of operations: insertions, deletions and queries. The experimental evaluation of the algorithm proves that it is very efficient for particular classes of graphs. Comparing the performance of the implemented algorithm to the one of other dynamic connectivity algorithms implemented in LEDA, we conclude that the algorithm always performs better than all these algorithms for dense random graphs and random sequences of operations. Moreover, it works very efficiently even for sparse random graphs when the sequence of operations is long.

Contact Information Panagiota Fatourou
Email: faturu@cti.gr

Contact Information Paul Spirakis
Email: spirakis@cti.gr

Contact Information Panagiotis Zarafidis
Email: zarafidi@ceid.upatras.gr

Contact Information Anna Zoura
Email: zoura@ceid.upatras.gr
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.106 • Server: MPWEB26
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)