数学 > 组合数学
[提交于 2018年5月2日]
标题:Matching on a line
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Matching is a method of the design of experiments. If we had an even number of patients and wanted to form pairs of patients such that their ages, for example, in each pair be as close as possible, we would use nonbipartite matching. Not only do we present a fast method to do this, we also extend our approach to triples, quadruples, etc. In part 1 a matching algorithm uses kn points on a line as vertices, pairs of vertices as edges, and either absolute values of differences or the squares of differences as weights or distances. It forms n of k-tuples with the minimal sum of distances within each k-tuple in O(n log n) time. In part 2 we present a trivial algorithm for bipartite matching with absolute values or squares of differences as weights and a generalisation to tripartite matching on tripartite graphs.
提交历史
来自:Josef Bukac[v1] 2018年5月2日 星期三 00:00:00 UTC