Exact and Heuristic Computation of the Scanwidth of Directed Acyclic Graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Holtgrefe, Niels, van Iersel, Leo, Jones, Mark
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914580808073216
author Holtgrefe, Niels
van Iersel, Leo
Jones, Mark
author_facet Holtgrefe, Niels
van Iersel, Leo
Jones, Mark
contents To measure the tree-likeness of a directed acyclic graph (DAG), a new width parameter that considers the directions of the arcs was recently introduced: scanwidth. We present the first algorithm that efficiently computes the exact scanwidth of general DAGs. For DAGs with one root and scanwidth $k$ it runs in $O(k \cdot n^k \cdot m)$ time. The algorithm also functions as an FPT algorithm with complexity $O(2^{4 \ell - 1} \cdot \ell \cdot n + n^2)$ for phylogenetic networks of level-$\ell$, a type of DAG used to depict evolutionary relationships among species. Our algorithm performs well in practice, being able to compute the scanwidth of synthetic networks up to 30 reticulations and 100 leaves within 500 seconds. Furthermore, we propose a heuristic that obtains an average practical approximation ratio of 1.5 on these networks. While we prove that the scanwidth is bounded from below by the treewidth of the underlying undirected graph, experiments suggest that for networks the parameters are close in practice.
format Preprint
id arxiv_https___arxiv_org_abs_2403_12734
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Exact and Heuristic Computation of the Scanwidth of Directed Acyclic Graphs
Holtgrefe, Niels
van Iersel, Leo
Jones, Mark
Data Structures and Algorithms
Discrete Mathematics
Combinatorics
To measure the tree-likeness of a directed acyclic graph (DAG), a new width parameter that considers the directions of the arcs was recently introduced: scanwidth. We present the first algorithm that efficiently computes the exact scanwidth of general DAGs. For DAGs with one root and scanwidth $k$ it runs in $O(k \cdot n^k \cdot m)$ time. The algorithm also functions as an FPT algorithm with complexity $O(2^{4 \ell - 1} \cdot \ell \cdot n + n^2)$ for phylogenetic networks of level-$\ell$, a type of DAG used to depict evolutionary relationships among species. Our algorithm performs well in practice, being able to compute the scanwidth of synthetic networks up to 30 reticulations and 100 leaves within 500 seconds. Furthermore, we propose a heuristic that obtains an average practical approximation ratio of 1.5 on these networks. While we prove that the scanwidth is bounded from below by the treewidth of the underlying undirected graph, experiments suggest that for networks the parameters are close in practice.
title Exact and Heuristic Computation of the Scanwidth of Directed Acyclic Graphs
topic Data Structures and Algorithms
Discrete Mathematics
Combinatorics
url https://arxiv.org/abs/2403.12734