Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Data Structures and Algorithms

arXiv:2001.10567 (cs)
[Submitted on 28 Jan 2020 (v1), last revised 18 Apr 2020 (this version, v3)]

Title:Path Query Data Structures in Practice

Authors:Meng He, Serikzhan Kazi
View a PDF of the paper titled Path Query Data Structures in Practice, by Meng He and Serikzhan Kazi
View PDF HTML (experimental)
Abstract:We perform experimental studies on data structures that answer path median, path counting, and path reporting queries in weighted trees. These query problems generalize the well-known range median query problem in arrays, as well as the $2d$ orthogonal range counting and reporting problems in planar point sets, to tree structured data. We propose practical realizations of the latest theoretical results on path queries. Our data structures, which use tree extraction, heavy-path decomposition and wavelet trees, are implemented in both succinct and pointer-based form. Our succinct data structures are further specialized to be plain or entropy-compressed. Through experiments on large sets, we show that succinct data structures for path queries may present a viable alternative to standard pointer-based realizations, in practical scenarios. Compared to na{ï}ve approaches that compute the answer by explicit traversal of the query path, our succinct data structures are several times faster in path median queries and perform comparably in path counting and path reporting queries, while being several times more space-efficient. Plain pointer-based realizations of our data structures, requiring a few times more space than the na{ï}ve ones, yield up to $100$-times speed-up over them.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2001.10567 [cs.DS]
  (or arXiv:2001.10567v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.2001.10567
arXiv-issued DOI via DataCite

Submission history

From: Serikzhan Kazi [view email]
[v1] Tue, 28 Jan 2020 19:32:22 UTC (412 KB)
[v2] Sat, 1 Feb 2020 10:32:43 UTC (465 KB)
[v3] Sat, 18 Apr 2020 00:36:37 UTC (160 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Path Query Data Structures in Practice, by Meng He and Serikzhan Kazi
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Current browse context:

cs.DS
< prev   |   next >
new | recent | 2020-01
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Meng He
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences