Computing Complexity Measures of Degenerate Graphs

We show that the VC-dimension of a graph can be computed in time n|log d+1| dO(d), where d is the degeneracy of the input graph. The core idea of our algorithm is a data structure to efficiently query the number of vertices that see a specific subset of vertices inside of a (small) query set. The construction of this data structure takes time O(d2dn), afterwards queries can be computed efficiently using fast Möbius inversion. This data structure turns out to be useful for a range of tasks, especially for finding bipartite patterns in degenerate graphs, and we outline an efficient algorithm for counting the number of times specific patterns occur in a graph. The largest factor in the running time of this algorithm is O(nc), where c is a parameter of the pattern we call its left covering number. Concrete applications of this algorithm include counting the number of (non-induced) bicliques in linear time, the number of co-matchings in quadratic time, as well as a constant-factor approximation of the ladder index in linear time. Finally, we supplement our theoretical results with several implementations and run experiments on more than 200 real-world datasets—the largest of which has 8 million edges—where we obtain interesting insights into the VC-dimension of real-world networks.

Authors

Institutions

Publication Details

Journal
Journal of Graph Algorithms and Applications
Published
2026-07-17
DOI
https://doi.org/10.7155/jgaa.v30i1.2980
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Computing Complexity Measures of Degenerate Graphs

Irene Muzi, Felix Reidl, Pål Grønås Drange, Patrick Greaves
Journal of Graph Algorithms and Applications
Graph Theory and Algorithms
article

Computing Complexity Measures of Degenerate Graphs

Irene Muzi, Felix Reidl, Pål Grønås Drange, Patrick Greaves
article en

Abstract

We show that the VC-dimension of a graph can be computed in time n|log d+1| dO(d), where d is the degeneracy of the input graph. The core idea of our algorithm is a data structure to efficiently query the number of vertices that see a specific subset of vertices inside of a (small) query set. The construction of this data structure takes time O(d2dn), afterwards queries can be computed efficiently using fast Möbius inversion. This data structure turns out to be useful for a range of tasks, especially for finding bipartite patterns in degenerate graphs, and we outline an efficient algorithm for counting the number of times specific patterns occur in a graph. The largest factor in the running time of this algorithm is O(nc), where c is a parameter of the pattern we call its left covering number. Concrete applications of this algorithm include counting the number of (non-induced) bicliques in linear time, the number of co-matchings in quadratic time, as well as a constant-factor approximation of the ladder index in linear time. Finally, we supplement our theoretical results with several implementations and run experiments on more than 200 real-world datasets—the largest of which has 8 million edges—where we obtain interesting insights into the VC-dimension of real-world networks.

Journal of Graph Algorithms and ApplicationsVol. 30(1)
University of Bergen (NO), Birkbeck, University of London (GB)
Norges Forskningsråd
Openalex Percentile: Top 100%
Graph Theory and Algorithms
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.

Computing Complexity Measures of Degenerate Graphs — Irene Muzi, Felix Reidl, et al. · Journal of Graph Algorithms and Applications (2026) | TGRS Research Map | TGRS