ONLINE MATCHING WITH BLOCKED INPUT

被引:10
|
作者
KAO, MY
TATE, SR
机构
[1] Department of Computer Science, Duke University, Durham
关键词
ANALYSIS OF ALGORITHMS; ONLINE ALGORITHMS;
D O I
10.1016/0020-0190(91)90231-6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we examine the problem of "blocked online bipartite matching". This problem is similar to the online matching problem except that the vertices arrive in blocks instead of one at a time. Previously studied problems exist as special cases of this problem; the case where each block contains only a single vertex is the standard online matching problem studied by Karp et al. (1990), and the case where there is only one block (containing all vertices of the graph) is the offline matching problem (see, for example, the work by Aho et al. (1985)). The main result of this paper is that no performance gain (except in low-order terms) is possible by revealing the vertices in blocks, unless the number of blocks remains constant as n (the number of vertices) grows. Specifically, we show that if the number of vertices in a block is k = o(n), then the expected size of the matching produced by any algorithm (on its worst-case input) is at most (1 - 1/e)n + o(n). This is exactly the bound achieved in the original online matching problem, so no improvement is possible when k = o(n). This result follows from a more general upper bound that applies for all k less-than-or-equal-to n; however, the bound does not appear to be tight for some values of k which are a constant fraction of n (in particular, for k = n/3). We also give an algorithm that makes use of the blocked structure of the input. On inputs with k = o(n), this algorithm can be shown to perform at least as well as using the algorithm from Karp et al. (1990) and ignoring blocking. Hence, by the upper bound, our algorithm is optimal to low-order terms for k = o(n), and in some cases considerably outperforms the algorithm of Karp et al. (1990). The algorithm also trivially has optimal performance for k = n; furthermore, it appears to have optimal performance for k = n /2, but a proof of this performance has not been found. Unfortunately, the algorithm does not meet the upper bound for all block sizes, as is shown by a simple example with block size n/3. We conjecture that the algorithm we present is actually optimal, and that the upper bound is not tight.
引用
收藏
页码:113 / 116
页数:4
相关论文
共 50 条
  • [1] Sequential Blocked Matching
    Bishop, Nicholas
    Chan, Hau
    Mandal, Debmalya
    Long Tran-Thanh
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / THE TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 4834 - 4842
  • [2] Online Budgeted Matching in Random Input Models with applications to Adwords
    Goel, Gagan
    Mehta, Aranyak
    PROCEEDINGS OF THE NINETEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2008, : 982 - +
  • [3] An Input Sensitive Online Algorithm for the Metric Bipartite Matching Problem
    Nayyar, Krati
    Raghvendra, Sharath
    2017 IEEE 58TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2017, : 505 - 515
  • [4] An efficient algorithm for the blocked pattern matching problem
    Deng, Fei
    Wang, Lusheng
    Liu, Xiaowen
    BIOINFORMATICS, 2015, 31 (04) : 532 - 538
  • [5] A New Algorithm for Fused Blocked Pattern Matching
    Zhao, Hua
    Lu, Songfeng
    Liu, Yan
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2013, E96A (04) : 830 - 832
  • [6] Online routing and searching on graphs with blocked edges
    Davood Shiri
    Hakan Tozan
    Journal of Combinatorial Optimization, 2022, 44 : 1039 - 1059
  • [7] Blocked Pattern Matching Problem and Its Applications in Proteomics
    Ng, Julio
    Amir, Amihood
    Pevzner, Pavel A.
    RESEARCH IN COMPUTATIONAL MOLECULAR BIOLOGY, 2011, 6577 : 298 - +
  • [8] Online routing and searching on graphs with blocked edges
    Shiri, Davood
    Tozan, Hakan
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2022, 44 (02) : 1039 - 1059
  • [9] MATCHING THE INPUT MODE TO THE TASK
    RUDNICKY, A
    BYTE, 1993, 18 (11): : 100 - 100
  • [10] ONLINE WEIGHTED MATCHING
    KALYANASUNDARAM, B
    PRUHS, K
    JOURNAL OF ALGORITHMS, 1993, 14 (03) : 478 - 488