paper

Mixing and Merging Metric Spaces using Directed Graphs

arXiv:2505.06405

Abstract

Let be metric spaces, where is a distance function for . Let denote the set theoretic product . Let be a directed graph with vertex set , and let be a collection of weights, where each is associated with the edge . We introduce the function defined by \begin{align*} d_{\mathcal{X},\mathcal{G},\mathcal{P}}(\mathbf{g},\mathbf{h}) := \left(1 - \frac{1}{N}\sum_{j=1}^N \prod_{i=1}^N \left[1- d_i(g_i,h_i)\right]^{\frac{1}{p_{ji}}} \right), \end{align*} for all . In this paper we show that defines a metric space over . Then we determine how this distance behaves under various graph operations, including disjoint unions and Cartesian products. We investigate two limiting cases: (a) when is defined over a finite field, leading to a broad generalization of graph-based distances commonly studied in error-correcting code theory; and (b) when the metric is extended to graphons, enabling the measurement of distances in a continuous graph limit setting.

Mixing and Merging Metric Spaces using Directed Graphs · wovepaper