Exact and heuristic computation of the scanwidth of directed acyclic graphs

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 ⋅ n k ⋅ m ) time. The algorithm also functions as an FPT algorithm with complexity O ( 2 4 ℓ − 1 ⋅ ℓ ⋅ n + n 2 ) for phylogenetic networks of level- ℓ , 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.

Institutions

Publication Details

Journal
Journal of Computer and System Sciences
Published
2026-03-31
DOI
https://doi.org/10.1016/j.jcss.2026.103802
Primary Topic
Advanced Graph Theory Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exact and heuristic computation of the scanwidth of directed acyclic graphs

Journal of Computer and System Sciences
Advanced Graph Theory Research
article

Exact and heuristic computation of the scanwidth of directed acyclic graphs

article en

Abstract

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 ⋅ n k ⋅ m ) time. The algorithm also functions as an FPT algorithm with complexity O ( 2 4 ℓ − 1 ⋅ ℓ ⋅ n + n 2 ) for phylogenetic networks of level- ℓ , 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.

Journal of Computer and System SciencesVol. 160
Middlesex University London (GB), Delft University of Technology (NL)
Nederlandse Organisatie voor Wetenschappelijk Onderzoek
Openalex Percentile: Top 25%
Advanced Graph Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.