In the Fitting Tree Metrics problem, we are given all pairwise distances among the elements of a set and our output is a tree metric on . The goal is to minimize the number of pairwise distance disagreements between the input and the output. We provide an approximation for Fitting Tree Metrics, which is asymptotically optimal as the problem is APX-Hard. For , solutions to the related Fitting Tree Metrics have typically used a reduction to Fitting Constrained Ultrametrics. Even though in FOCS '22 Cohen-Addad et al. solved Fitting (unconstrained) Ultrametrics within a constant approximation factor, their results did not extend to tree metrics. We identify two possible reasons, and provide simple techniques to circumvent them. Our framework does not modify the algorithm from Cohen-Addad et al. It rather extends any approximation for Fitting Ultrametrics to a approximation for Fitting Tree Metrics in a blackbox fashion.

生成讲解博客的中文版本

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