arXiv · 2409.08363
Compression with wildcards: All induced metric subgraphs
Abstract
Driven by applications in the natural, social and computer sciences several algorithms have been proposed to enumerate all sets $X\s V$ of vertices of a graph $G=(V,E)$ that induce a {\it connected} subgraph. We offer two algorithms for enumerating all $X$'s that induce (more exquisite) {\it metric} subgraphs. Specifically, the first algorithm, called {\tt AllMetricSets}, generates these $X$'s in a compressed format. The second algorithm generates all (accessible) metric sets one-by-one but is provably output-polynomial. Mutatis mutandis the same holds for the geodesically-convex sets $X\s V$, this being a natural strengthening of "metric". The Mathematica command {\tt BooleanConvert} features prominently.
Explore related subjects
Keep this discovery
Marcel Wild. 2024-09-12. Compression with wildcards: All induced metric subgraphs. https://arxiv.org/abs/2409.08363
Cite the original work for its findings. Save a collection to share your selection of sources.