Fast evaluation of union-intersection expressions

被引:0
|
作者
Bille, Philip [1 ]
Pagh, Anna [1 ]
Pagh, Rasmus [1 ]
机构
[1] IT Univ Copagahen, Computat Log & Algorithms Grp, Copenhagen, Denmark
来源
ALGORITHMS AND COMPUTATION | 2007年 / 4835卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show how to represent sets in a linear space data structure such that expressions involving unions and intersections of sets can be computed in a worst-case efficient way. This problem has applications in e.g. information retrieval and database systems. We mainly consider the RAM model of computation, and sets of machine words, but also state our results in the I/O model. On a RAM with word size w, a special case of our result is that the intersection of m (preprocessed) sets, containing n elements in total, can be computed in expected time O(n(log w)(2)/w + km), where k is the number of elements in the intersection. If the first of the two terms dominates, this is a factor w(1)-(o(1)) faster than the standard solution of merging sorted lists. We show a cell probe lower bound of time Omega(n/(wm log m) + (1 - log k/w) k), meaning that our upper bound is nearly optimal for small m. Our algorithm uses a novel combination of approximate set representations and word-level parallelism.
引用
收藏
页码:739 / 750
页数:12
相关论文
共 50 条
  • [31] OR AND IT - UNION OR INTERSECTION
    RYAN, JD
    JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 1986, 37 (12) : 1141 - 1141
  • [32] Intersection of -ω-Regular Expressions
    A. N. Chebotarev
    Cybernetics and Systems Analysis, 2021, 57 : 676 - 684
  • [33] INTERSECTION OF -ω-REGULAR EXPRESSIONS
    Chebotarev, A. N.
    CYBERNETICS AND SYSTEMS ANALYSIS, 2021, 57 (05) : 676 - 684
  • [34] Two-stage likelihood ratio and union-intersection tests for one-sided alternatives multivariate mean with nuisance dispersion matrix
    Sen, PK
    Tsai, MT
    JOURNAL OF MULTIVARIATE ANALYSIS, 1999, 68 (02) : 264 - 282
  • [35] A PLUG AND PLAY FAST INTERSECTION OVER UNION LOSS FOR BOUNDARY BOX REGRESSION
    Kuang, Zengsheng
    Fang, Xian
    Zhang, Ruixun
    Shao, Xiuli
    Wang, Hongpeng
    2021 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP 2021), 2021, : 1705 - 1709
  • [36] INTERSECTION AND UNION TYPES
    BARBANERA, F
    DEZANICIANCAGLINI, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 526 : 651 - 674
  • [37] Fast Numerical Evaluation for Symbolic Expressions in Java']Java
    Liu, Yueming
    Zhang, Peng
    Qiu, Meikang
    2015 IEEE 17TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2015 IEEE 7TH INTERNATIONAL SYMPOSIUM ON CYBERSPACE SAFETY AND SECURITY, AND 2015 IEEE 12TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (ICESS), 2015, : 599 - 604
  • [38] Succinctness of the complement and intersection of regular expressions
    Gelade, Wouter
    Neven, Frank
    STACS 2008: PROCEEDINGS OF THE 25TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, 2008, : 325 - +
  • [39] Succinctness of the Complement and Intersection of Regular Expressions
    Gelade, Wouter
    Neven, Frank
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2012, 13 (01)
  • [40] Union and Intersection of All Justifications
    Chen, Jieying
    Ma, Yue
    Penaloza, Rafael
    Yang, Hui
    SEMANTIC WEB, ESWC 2022, 2022, 13261 : 56 - 73