Recognizing Distance-Count Matrices is Difficult
Paolo Boldi, Flavio Furia, Chiara Prezioso, Ian Stewart
TL;DR
This work studies the distance-count matrix (DCM) as a compact descriptor of vertex distance distributions that underpin geometric centralities. It proves that recognizing whether a given matrix is a DCM (and its cumulative variant CDCM) is strongly NP-complete via a reduction from a specially constrained three-partition problem, constructing a matrix $M(\mathbf{a})$ from a TPP instance and a corresponding graph $\mathcal{G}(\mathbf{a})$ to establish a tight equivalence. The result implies that brute-force search for DCM-based counterexamples to centrality properties is impractical, guiding researchers toward alternative strategies or identifying tractable graph families. The paper also clarifies the relationship between DCMs, distance degree sequences, and graphical realization concepts, and outlines directions for future work on efficiently recognizable subfamilies and preservation under graph operations.
Abstract
Axiomatization of centrality measures often involves proving that something cannot hold by providing a counterexample (i.e., a graph for which that specific centrality index fails to have a given property). In the context of geometric centralities, building such counterexamples requires constructing a graph with specific distance counts between nodes, as expressed by its distance-count matrix. We prove that deciding whether a matrix is the distance-count matrix of a graph is strongly NP-complete. This negative result implies that a brute-force approach to building this kind of counterexample is out of question, and cleverer approaches are required.
