Let be a metric space. We analyze the expected value and the variance of $\sum_{i=1}^{\lfloor n/2\rfloor},d({\boldsymbol{\pi}}(2i-1),{\boldsymbol{\pi}}(2i))$ for a uniformly random permutation of , leading to the following results: (I) Consider the problem of finding a point in with the minimum sum of distances to all points. We show that this problem has a randomized algorithm that (1) always outputs a -approximate solution in expected time and that (2) inherits Indyk’s~\cite{Ind99, Ind00} algorithm to output a -approximate solution in time with probability , where . (II) The average distance in can be approximated in time to within a multiplicative factor in with probability , where . (III) Assume to be a graph metric. Then the average distance in can be approximated in time to within a multiplicative factor in with probability , where .

生成讲解博客的中文版本

生成AI智能校验的中文版本