Publication:2119403: Difference between revisions

From MaRDI portal
Publication:2119403
Created automatically from import240129110113
 
(No difference)

Latest revision as of 22:35, 1 February 2024

DOI10.1016/J.JCSS.2022.01.001zbMATH Open1483.68250arXiv1907.10398OpenAlexW3043943455MaRDI QIDQ2119403FDOQ2119403

J. Chalopin, Yann Vaxès, Victor Chepoi, Laurine Bénéteau

Publication date: 29 March 2022

Published in: Journal of Computer and System Sciences (Search for Journal in Brave)

Abstract: The median of a set of vertices P of a graph G is the set of all vertices x of G minimizing the sum of distances from x to all vertices of P. In this paper, we present a linear time algorithm to compute medians in median graphs, improving over the existing quadratic time algorithm. We also present a linear time algorithm to compute medians in the ell1-cube complexes associated with median graphs. Median graphs constitute the principal class of graphs investigated in metric graph theory and have a rich geometric and combinatorial structure, due to their bijections with CAT(0) cube complexes and domains of event structures. Our algorithm is based on the majority rule characterization of medians in median graphs and on a fast computation of parallelism classes of edges (Theta-classes or hyperplanes) via Lexicographic Breadth First Search (LexBFS). To prove the correctness of our algorithm, we show that any LexBFS ordering of the vertices of G satisfies the following fellow traveler property of independent interest: the parents of any two adjacent vertices of G are also adjacent. Using the fast computation of the Theta-classes, we also compute the Wiener index (total distance) of G in linear time and the distance matrix in optimal quadratic time.


Full work available at URL: https://arxiv.org/abs/1907.10398





Cites Work


Cited In (12)






This page was built for publication: Medians in median graphs and their cube complexes in linear time

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2119403)