计算机科学 > 数据结构与算法
[提交于 2017年10月4日]
标题:Ordered Dags: HypercubeSort
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We generalise the insertion into a binary heap to any directed acyclic graph (DAG) with one source vertex. This lets us formulate a general method for converting any such DAG into a data structure with priority queue interface. We apply our method to a hypercube DAG to obtain a sorting algorithm of complexity $\mathcal{O}(n\log^2 (n))$. As another curious application, we derive a relationship between length of longest path and maximum degree of a vertex in a DAG.
提交历史
来自:Mikhail Gudim[v1] 2017年10月4日 星期三 00:00:00 UTC