English

Compression with wildcards: All induced metric subgraphs

Combinatorics 2024-12-03 v3 Data Structures and Algorithms

Abstract

Driven by applications in the natural, social and computer sciences several algorithms have been proposed to enumerate all sets X\sVX\s V of vertices of a graph G=(V,E)G=(V,E) that induce a {\it connected} subgraph. We offer two algorithms for enumerating all XX's that induce (more exquisite) {\it metric} subgraphs. Specifically, the first algorithm, called {\tt AllMetricSets}, generates these XX'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\sVX\s V, this being a natural strengthening of "metric". The Mathematica command {\tt BooleanConvert} features prominently.

Keywords

Cite

@article{arxiv.2409.08363,
  title  = {Compression with wildcards: All induced metric subgraphs},
  author = {Marcel Wild},
  journal= {arXiv preprint arXiv:2409.08363},
  year   = {2024}
}

Comments

The proof of Theorem 1 is deferred to a forthcoming article, which offers more background on implication-bases. This and more cosmetic changes increase the readibility of the new version

R2 v1 2026-06-28T18:43:00.388Z