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 条
  • [21] Efficient Dynamic Data Visualization with Persistent Data Structures
    Cottam, Joseph A.
    Lumsdaine, Andrew
    [J]. VISUALIZATION AND DATA ANALYSIS 2012, 2012, 8294
  • [22] I/O-efficient shortest path queries in geometric spanners
    Maheshwari, A
    Smid, M
    Zeh, N
    [J]. ALGORITHMS AND DATA STRUCTURES, 2001, 2125 : 287 - 299
  • [23] CuVPP: Filter-based Longest Prefix Matching in Software Data Planes
    Kwon, Minseok
    Neupane, Krishna Prasad
    Marshall, John
    Rafique, M. Mustafa
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER 2020), 2020, : 12 - 22
  • [24] A Time Efficient Algorithm Based on Bloom Filters for Longest Prefix Matching in IP Lookups
    Yu, Ming
    Wang, Dongju
    [J]. JOURNAL OF COMPUTERS, 2013, 8 (10) : 2724 - 2729
  • [25] Hashed Patricia Trie: Efficient Longest Prefix Matching in Peer-to-Peer Systems
    Kniesburges, Sebastian
    Scheideler, Christian
    [J]. WALCOM: ALGORITHMS AND COMPUTATION, 2011, 6552 : 170 - 181
  • [26] Data Structures for Path Queries
    He, Meng
    Munro, J. Ian
    Zhou, Gelin
    [J]. ACM TRANSACTIONS ON ALGORITHMS, 2016, 12 (04)
  • [27] Efficient data structures for dynamic graph analysis
    Schiller, Benjamin
    Castrillon, Jeronimo
    Strufe, Thorsten
    [J]. 2015 11TH INTERNATIONAL CONFERENCE ON SIGNAL-IMAGE TECHNOLOGY & INTERNET-BASED SYSTEMS (SITIS), 2015, : 497 - 504
  • [28] Efficient processing of narrow range queries in multi-dimensional data structures
    Kratky, Michal
    Snasel, Vaclav
    Pokorny, Jaroslav
    Zezula, Pavel
    [J]. 10TH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2006, : 69 - 79
  • [29] Answering ad-hoc continuous aggregate queries over data streams using Dynamic Prefix Aggregate Tree
    Safaei, Ali Asghar
    Mosaferi, Mehdi
    Abdi, Fatemeh
    [J]. INTELLIGENT DATA ANALYSIS, 2016, 20 (06) : 1351 - 1384
  • [30] I/O Efficient Label-Constrained Reachability Queries in Large Graphs
    Yuan, Long
    Li, Xia
    Chen, Zi
    Lin, Xuemin
    Zhao, Xiang
    Zhang, Wenjie
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2024, 17 (10): : 2590 - 2602