ACM Home Page
Please provide us with feedback. Feedback
Online topological ordering
Full text PdfPdf (826 KB)
Source Symposium on Discrete Algorithms archive
Proceedings of the sixteenth annual ACM-SIAM symposium on Discrete algorithms table of contents
Vancouver, British Columbia
SESSION: Session 5A table of contents
Pages: 443 - 450  
Year of Publication: 2005
ISBN:0-89871-585-7
Authors
Irit Katriel  Max-Planck-Institut für Informatik, Saarbrücken, Germany
Hans L. Bodlaender  Utrecht University, the Netherlands
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
: SIAM Activity Group on Discrete Mathematics
Publisher
Society for Industrial and Applied Mathematics  Philadelphia, PA, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 26,   Citation Count: 3
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Review this Article  

ABSTRACT

It is shown that the problem of maintaining the topological order of the nodes of a directed acyclic graph while inserting m edges can be solved in O(min{m3/2 log n m3/3 + n2 log n}) time, an improvement over the best known result of O(mn). In addition, we analyze the complexity of the same algorithm with respect to the treewidth k of the underlying undirected graph. We show that the algorithm runs in time O(mk log2 n) for general k and that it can be implemented to run in O(n log n) time on trees, which is optimal. If the input contains cycles, the algorithm detects this.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
4
5
 
6
I. Katriel. On algorithms for online topological ordering and sorting. Research Report MPI-I-2004-1-003, Max-Planck-Institut für Informatik, Saarbrücken, Germany, 2004.
 
7
 
8
 
9
S. M. Omohundro, C. Lim, and J. Bilmes. The Sather language compiler/debugger implementation. Technical Report TR-92-017, International Computer Science Institute, Berkeley, March 1992.
 
10
D. J. Pearce and P. H. J. Kelly. A dynamic algorithm for topologically sorting directed acyclic graphs. In Proc. of the 3rd Int. Worksh. Efficient and Experimental Algorithms (WEA 2004), Lecture Notes in Computer Science. Springer-Verlag, 2004.
 
11
 
12
 
13
N. Robertson and P. D. Seymour. Graph minors. II. Algorithmic aspects of tree-width. J. Algorithms, 7:309--322, 1986.
 
14
R. E. Tarjan. Depth first search and linear graph algorithms. SIAM Journal on Computing, 1(2):146--160, June 1972.

Collaborative Colleagues:
Irit Katriel: colleagues
Hans L. Bodlaender: colleagues