计算机科学 > 数据结构与算法
[提交于 2018年4月22日 (v1),最后修订于 2018年9月10日 (此版本, v2)]
标题:A Primal-Dual Online Deterministic Algorithm for Matching with Delays
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In the Min-cost Perfect Matching with Delays (MPMD) problem, 2 m requests arrive over time at points of a metric space. An online algorithm has to connect these requests in pairs, but a decision to match may be postponed till a more suitable matching pair is found. The goal is to minimize the joint cost of connection and the total waiting time of all requests. We present an O(m)-competitive deterministic algorithm for this problem, improving on an existing bound of O(m^(log(5.5))) = O(m^2.46). Our algorithm also solves (with the same competitive ratio) a bipartite variant of MPMD, where requests are either positive or negative and only requests with different polarities may be matched with each other. Unlike the existing randomized solutions, our approach does not depend on the size of the metric space and does not have to know it in advance.