Abstract: | The median of a weighted finite metric space consists of the points minimizing the total weighted distance to the points of the space. The centroid is formed by the points p satisfying the following minimax condition: the maximal weight of a geodesically convex set not containing a point X attains its minimum at p. It is well known that in a tree network the centroid and the median coincide for every distribution of weights. The metric spaces for which the latter property is characteristic are determined in this paper. These spaces are obtained from three classess of graphs: median graphs, joins of complete graphs with edgeless graphs, and joins of two-vertex edgeless graphs. |