A Low Complexity Topological Sorting Algorithm for Directed Acyclic Graph - Volume 4 Number 2 (Apr. 2014) - IJMLC
  • Aug 09, 2018 News! Vol. 6, No. 4-No. 7, No. 3 has been indexed by EI(Inspec)!   [Click]
  • Aug 09, 2018 News!Good News! All papers from Volume 8, Number 3 have been indexed by Scopus!   [Click]
  • May 23, 2018 News![CFP] 2018 the annual meeting of IJMLC Editorial Board, ACMLC 2018, will be held in Ho Chi Minh, Vietnam, December 7-9, 2018   [Click]
Search
General Information
Editor-in-chief
Dr. Lin Huang
Metropolitan State University of Denver, USA
It's my honor to take on the position of editor in chief of IJMLC. We encourage authors to submit papers concerning any branch of machine learning and computing.
IJMLC 2014 Vol.4(2): 194-197 ISSN: 2010-3700
DOI: 10.7763/IJMLC.2014.V4.411

A Low Complexity Topological Sorting Algorithm for Directed Acyclic Graph

Renkun Liu
Abstract—In a Directed Acyclic Graph (DAG), vertex A and vertex B are connected by a directed edge AB which shows that A comes before B in the ordering. In this way, we can find a sorting algorithm totally different from Kahn or DFS algorithms, the directed edge already tells us the order of the nodes, so that it can simply be sorted by re-ordering the nodes according to the edges from a Direction Matrix. No vertex is specifically chosen, which makes the complexity to be O*E. Then we can get an algorithm that has much lower complexity than Kahn and DFS. At last, the implement of the algorithm by matlab script will be shown in the appendix part.br />
Index Terms—DAG, algorithm, complexity, matlab.

Renkun Liu is with Beijing R&D Center, Beijing, China (e-mail: liurenkun1985@163.com).

[PDF]

Cite: Renkun Liu, "A Low Complexity Topological Sorting Algorithm for Directed Acyclic Graph," International Journal of Machine Learning and Computing vol.4, no. 2, pp. 194-197, 2014.

Copyright © 2008-2018. International Journal of Machine Learning and Computing. All rights reserved.
E-mail: ijmlc@ejournal.net