Distances in and Layering of a DAG
Bhadrachalam Chitturi, Priyanshu Das

TL;DR
This paper introduces efficient algorithms for computing the diameter and stretch of DAGs, and for detecting and layering balanced DAGs, significantly improving computational complexity over previous methods.
Contribution
The paper presents algorithms that compute DAG stretch and diameter in linear and near-linear time, and a method to detect and layer balanced DAGs efficiently.
Findings
DAG stretch can be computed in O(|V|+|E|) time.
DAG diameter can be computed in O(|V||E|) time.
Balanced DAGs can be detected and layered in O(|V|+|E|) time.
Abstract
The diameter of an undirected unweighted graph is the maximum value of the distance from any vertex to another vertex for where distance i.e. is the length of the shortest path from to in . DAG, is a directed graph without a cycle. We denote the diameter of an unweighted DAG by . The stretch of a DAG is the length of longest path from to in , for all choices of denoted by . The diameter of an undirected graph can be computed in time by executing breadth first search times. We show that stretch and diameter of a DAG can be computed in time and time respectively. A DAG is balanced if and only if a consistent assignment of level numbers to all vertices is possible. Layering refers to such an assignment. A balanced DAG is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Complexity and Algorithms in Graphs · semigroups and automata theory
