arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.00899cs.DMcs.DS
收藏

动态秩最大匹配

Dynamic Rank Maximal Matchings

Prajakta Nimbhorkar, Arvind Rameshwar

摘要:

我们考虑的问题是,在申请人对职位有偏好的情况下,如何将申请人与职位配对。因此,我们的问题的输入是一个二分图G =(A UP,E),其中A表示一组申请人,P是一组职位,并且在边缘上有表示申请人对职位的偏好的排名。G中的一个匹配M称为秩最大的,如果它匹配的最大数量的申请人到他们的秩1职位,受此限制的最大数量的申请人到他们的秩2职位,等等。我们考虑这个问题在一个动态设置,其中顶点和边可以添加和删除在任何点。设n和m是实例G中顶点和边的个数,r是G中任意秩极大匹配所使用的最大秩。我们给出了一个简单的O(r(m+n))时间算法来更新现有的秩最大匹配下的每一个这些变化。当r = o(n)时,这比完全使用像Irving等人的已知算法重新计算秩最大匹配更快,时间复杂度为O(min((r + n,r*sqrt(n))m)。

英文摘要:

We consider the problem of matching applicants to posts where applicants have preferences over posts. Thus the input to our problem is a bipartite graph G = (A U P,E), where A denotes a set of applicants, P is a set of posts, and there are ranks on edges which denote the preferences of applicants over posts. A matching M in G is called rank-maximal if it matches the maximum number of applicants to their rank 1 posts, subject to this the maximum number of applicants to their rank 2 posts, and so on. We consider this problem in a dynamic setting, where vertices and edges can be added and deleted at any point. Let n and m be the number of vertices and edges in an instance G, and r be the maximum rank used by any rank-maximal matching in G. We give a simple O(r(m+n))-time algorithm to update an existing rank-maximal matching under each of these changes. When r = o(n), this is faster than recomputing a rank-maximal matching completely using a known algorithm like that of Irving et al., which takes time O(min((r + n, r*sqrt(n))m).

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

↑