Brute-force search and Warshall algorithms for matrix-weighted graphs
Minh Hoang Trinh, Hyo-Sung Ahn
TL;DR
This work addresses determining connectedness and clustering in undirected matrix-weighted graphs, where edge weights are PSD matrices and vertex states are $d$-dimensional vectors. It introduces two heuristic algorithms, brute-force search and Warshall, rooted in a sufficient kernel-based connectivity condition involving the matrix-weighted Laplacian $\mathbf{L}$ and per-path kernels, to decide connectivity and partition vertices into clusters. The authors prove correctness, analyze worst-case complexities, and demonstrate through numerical examples that the Warshall-based method can efficiently reveal clusters while the brute-force approach remains exhaustive; examples also reveal limitations and heuristic characteristics. Overall, the paper extends classical graph connectivity concepts to matrix-weighted networks, enabling practical analysis of multidimensional and multi-layered systems in applications such as multiagent coordination and clustering dynamics.
Abstract
Although research on the control of networked systems has grown considerably, graph-theoretic and algorithmic studies on matrix-weighted graphs remain limited. To bridge this gap in the literature, this work introduces two algorithms-the brute-force search and the Warshall algorithm-for determining connectedness and clustering in undirected matrix-weighted graphs. The proposed algorithms, which are derived from a sufficient condition for connectedness, emphasize a key distinction between matrix-weighted and scalar-weighted graphs. While the existence of a path between two vertices guarantees connectedness in scalar-weighted graphs, connectedness in matrix-weighted graphs is a collective contribution of all paths joining the two vertices. Proofs of correctness and numerical examples are provided to illustrate and demonstrate the effectiveness of the algorithms.
