arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1702.01083cs.DS
收藏

一维多对多点匹配的一个O(n^2)算法

An O(n^2) algorithm for Many-To-Many Matching of Points with Demands in One Dimension

Fatemeh Rajabi-Alni, Alireza Bagheri

摘要:

给定两个点集S和T,研究了多对多匹配问题(MM问题)的推广,即多对多匹配问题(MMD问题)。在MMD中,一个集合中的每个点都必须与另一个集合中给定数量的点相匹配(每个点都有一个需求)。本文考虑了MMD问题的一种特殊情况,即一维MMD(OMMD),其中输入点集S和T位于直线上。也就是说,匹配一对点的成本等于两点之间的距离。我们提出了第一个O(n^2)时间算法来计算S和T之间的OMMD,其中|S| + |T| = n。

英文摘要:

Given two point sets S and T, we study the many-to-many matching with demands problem (MMD problem) which is a generalization of the many-to-many matching problem (MM problem). In an MMD, each point of one set must be matched to a given number of the points of the other set (each point has a demand). In this paper we consider a special case of MMD problem, the one-dimensional MMD (OMMD), where the input point sets S and T lie on the line. That is, the cost of matching a pair of points is equal to the distance between the two points. we present the first O(n^2)time algorithm for computing an OMMD between S and T, where |S| + |T| = n.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑