# A Self-stabilizing Algorithm for the Median Problem in Partial Rectangular Grids and Their Relatives

Abstract : Given a graph $G=(V,E)$, a vertex $v$ of $G$ is a \emph{median vertex} if it minimizes the sum of the distances to all other vertices of $G$. The median problem consists of finding the set of all median vertices of $G$. In this note, we present self-stabilizing algorithms for the median problem in partial rectangular grids and relatives. Our algorithms are based on the fact that partial rectangular grids can be isometrically embedded into the Cartesian product of two trees, to which we apply the algorithm proposed by Antonoiu, Srimani (1999) and Bruell, Ghosh, Karaata, Pemmaraju (1999) for computing the medians in trees. Then we extend our approach from partial rectangular grids to a more general class of plane quadrangulations. We also show that the characterization of medians of trees given by Gerstel and Zaks (1994) extends to cube-free median graphs, a class of graphs which includes these quadrangulations.
Document type :
Journal articles
Domain :

https://hal.archives-ouvertes.fr/hal-01194817
Contributor : Yann Vaxès <>
Submitted on : Monday, September 7, 2015 - 3:53:44 PM
Last modification on : Wednesday, September 25, 2019 - 11:50:04 AM

### Citation

Yann Vaxès, Victor Chepoi, Emmanuel Godard, Tristan Févat. A Self-stabilizing Algorithm for the Median Problem in Partial Rectangular Grids and Their Relatives. Algorithmica, Springer Verlag, 2012, 62, pp.146--168. ⟨10.1007/s00453-010-9447-4⟩. ⟨hal-01194817⟩

Record views