arXiv++ Combinatorics

Browse math.CO papers from arXiv

Compression with wildcards: All induced metric subgraphs

Published: 2024-09-12 | Updated: 2024-11-30
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

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.

BibTeX

Loading...