I/O Efficient Dynamic Data Structures for Longest Prefix Queries

被引:0
|
作者
Moshe Hershcovitch
Haim Kaplan
机构
[1] Tel Aviv University,Faculty of Electrical Engineering
[2] Tel Aviv University,School of Computer Science
来源
Algorithmica | 2013年 / 65卷
关键词
Algorithms; Data structures; Longest prefix; I/O model; Segment tree; String B-tree;
D O I
暂无
中图分类号
学科分类号
摘要
We present an efficient data structure for finding the longest prefix of a query string q in a dynamic database of strings. When the database strings are prefixes of IP-addresses then this is the IP-lookup problem. Our data structure is I/O efficient. It supports a query with a string q using \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O(\log_{B}(n)+\frac{|q|}{B})$\end{document} I/O operations, where B is the size of a disk block. It also supports an insertion and a deletion of a string q with the same number of I/Os. The data structure requires O(n/B) blocks, and the running time for each operation is O(BlogB(n)+|q|).
引用
收藏
页码:371 / 390
页数:19
相关论文
共 50 条
  • [1] I/O Efficient Dynamic Data Structures for Longest Prefix Queries
    Hershcovitch, Moshe
    Kaplan, Haim
    [J]. ALGORITHMICA, 2013, 65 (02) : 371 - 390
  • [2] I/O efficient dynamic data structures for longest prefix queries
    Hershcovitch, Moshe
    Kaplan, Haim
    [J]. ALGORITHM THEORY - SWAT 2008, 2008, 5124 : 29 - +
  • [3] An efficient parallelization of longest prefix match and application on data compression
    Ozsoy, Adnan
    [J]. INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2016, 30 (03): : 276 - 289
  • [4] Succinct and I/O Efficient Data Structures for Traversal in Trees
    Dillabaugh, Craig
    He, Meng
    Maheshwari, Anil
    [J]. ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2008, 5369 : 112 - 123
  • [5] Succinct and I/O Efficient Data Structures for Traversal in Trees
    Dillabaugh, Craig
    He, Meng
    Maheshwari, Anil
    [J]. ALGORITHMICA, 2012, 63 (1-2) : 201 - 223
  • [6] Succinct and I/O Efficient Data Structures for Traversal in Trees
    Craig Dillabaugh
    Meng He
    Anil Maheshwari
    [J]. Algorithmica, 2012, 63 : 201 - 223
  • [7] Efficient Computation of Skyline Queries on Incomplete Dynamic Data
    Wang, Hongzhi
    Yin, Shengjun
    Sun, Ming
    Wang, Ye
    Wang, Hepeng
    Li, Jianzhong
    Gao, Hong
    [J]. IEEE ACCESS, 2018, 6 : 52741 - 52753
  • [8] I/O-Efficient Contour Queries on Terrains
    Agarwal, Pankaj K.
    Molhave, Thomas
    Sadri, Bardia
    [J]. PROCEEDINGS OF THE TWENTY-SECOND ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2011, : 268 - 284
  • [9] I/O Efficient Algorithms for Exact Distance Queries on Disk-Resident Dynamic Graphs
    Lin, Yishi
    Chen, Xiaowei
    Lui, John C. S.
    [J]. PROCEEDINGS OF THE 2015 IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING (ASONAM 2015), 2015, : 440 - 447
  • [10] I/O-Efficient Range Minima Queries
    Afshani, Peyman
    Sitchinava, Nodari
    [J]. ALGORITHM THEORY - SWAT 2014, 2014, 8503 : 1 - +