Repository logo
  • Log In
    New user? Click here to register.Have you forgotten your password?
University College Dublin
  • Colleges & Schools
  • Statistics
  • All of DSpace
  • Log In
    New user? Click here to register.Have you forgotten your password?
  1. Home
  2. College of Science
  3. School of Computer Science
  4. Computer Science Research Collection
  5. Engineering a Topological Sorting Algorithm for Massive Graphs
 
  • Details
Options

Engineering a Topological Sorting Algorithm for Massive Graphs

File(s)
FileDescriptionSizeFormat
Download ajwani_alenex11.pdf1.18 MB
Author(s)
Ajwani, Deepak 
Cosgaya-Lozano, Adan 
Zeh, Norbert 
Uri
http://hdl.handle.net/10197/10513
Date Issued
01 December 2011
Date Available
20T08:00:48Z May 2019
Abstract
We present an I/O-efficient algorithm for topologically sorting directed acyclic graphs (DAGs). No provably I/O-efficient algorithm for this problem is known. Similarly, the performance of our algorithm, which we call IterTS, may be poor in the worst case. However, our experiments show that IterTS achieves good performance in practise. The strategy of IterTS can be summarized as follows. We call an edge satisfied if its tail has a smaller number than its head. A numbering satisfying at least half the edges in the DAG is easy to find: A random numbering is expected to have this property. IterTS starts with such a numbering and then iteratively corrects the numbering to satisfy more and more edges until all edges are satisfied. To evaluate IterTS, we compared its running time to those of three competitors: PeelTS, an I/O-efficient implementation of the standard strategy of iteratively removing sources and sinks; ReachTS, an I/O-efficient implementation of a recent parallel divide-and-conquer algorithm based on reachability queries; and SeTS, standard DFS-based topological sorting built on top of a semi-external DFS algorithm. In our evaluation on various types of input graphs, IterTS consistently outperformed PeelTS and ReachTS, by at least an order of magnitude in most cases. SeTS outperformed IterTS on most graphs whose vertex sets fit in memory. However, IterTS often came close to the running time of SeTS on these inputs and, more importantly, SeTS was not able to process graphs whose vertex sets were beyond the size of main memory, while IterTS was able to process such inputs efficiently.
Other Sponsorship
Danish National Research Foundation
IRCSET/IBM
NSERC
Canada Research Chairs programme
Type of Material
Conference Publication
Publisher
Society for Industrial and Applied Mathematics
Copyright (Published Version)
2011 SIAM
Keywords
  • IterTS

  • Graph algorithms

  • PeelTS

  • ReachTS

  • Vertex sets

DOI
10.1137/1.9781611972917.14
Language
English
Status of Item
Not peer reviewed
Part of
2011 Proceedings of the 13th Workshop on Algorithm Engineering and Experiments, ALENEX 2011
Description
ALEXNEX11: Workshop on Algorithm Engineering & Experiments, San Francisco, California, USA. 22 January 2011
This item is made available under a Creative Commons License
https://creativecommons.org/licenses/by-nc-nd/3.0/ie/
Owning collection
Computer Science Research Collection
Scopus© citations
2
Acquisition Date
Feb 4, 2023
View Details
Views
718
Acquisition Date
Feb 4, 2023
View Details
Downloads
266
Acquisition Date
Feb 4, 2023
View Details
google-scholar
University College Dublin Research Repository UCD
The Library, University College Dublin, Belfield, Dublin 4
Phone: +353 (0)1 716 7583
Fax: +353 (0)1 283 7667
Email: mailto:research.repository@ucd.ie
Guide: http://libguides.ucd.ie/rru

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Cookie settings
  • Privacy policy
  • End User Agreement