We gratefully acknowledge support from
the Simons Foundation and member institutions.

Data Structures and Algorithms

New submissions

[ total of 7 entries: 1-7 ]
[ showing up to 2000 entries per page: fewer | more ]

New submissions for Mon, 18 Oct 21

[1]  arXiv:2110.07753 [pdf, other]
Title: On Efficient Range-Summability of IID Random Variables in Two or Higher Dimensions
Subjects: Data Structures and Algorithms (cs.DS)

$d$-dimensional efficient range-summability ($d$D-ERS) of a long list of random variables (RVs) is a fundamental algorithmic problem that has applications to two important families of database problems, namely, fast approximate wavelet tracking (FAWT) on data streams and approximately answering range-sum queries over a data cube. In this work, we propose a novel solution framework to $d$D-ERS for $d>1$ on RVs that have Gaussian or Poisson distribution. Our solutions are the first ones that compute any rectangular range-sum of the RVs in polylogarithmic time. Furthermore, we develop a novel $k$-wise independence theory that allows our $d$D-ERS solutions to have both high computational efficiencies and strong provable independence guarantees. Finally, we generalize existing DST-based solutions for 1D-ERS to 2D, and characterize a sufficient and likely necessary condition on the target distribution for this generalization to be feasible.

[2]  arXiv:2110.08106 [pdf, other]
Title: Compact representation for matrices of bounded twin-width
Comments: 24 pages, 2 figures
Subjects: Data Structures and Algorithms (cs.DS)

For every fixed $d \in \mathbb{N}$, we design a data structure that represents a binary $n \times n$ matrix that is $d$-twin-ordered. The data structure occupies $O_d(n)$ bits, which is the least one could hope for, and can be queried for entries of the matrix in time $O_d(\log \log n)$ per query.

Cross-lists for Mon, 18 Oct 21

[3]  arXiv:2003.04912 (cross-list from math.CO) [pdf, other]
Title: Flip-sort and combinatorial aspects of pop-stack sorting
Comments: This v3 just updates the journal reference, according to the publisher wish
Journal-ref: Discrete Mathematics & Theoretical Computer Science, vol. 22 no. 2, Permutation Patterns 2019, Special issues (April 30, 2021) dmtcs:7411
Subjects: Combinatorics (math.CO); Discrete Mathematics (cs.DM); Data Structures and Algorithms (cs.DS); Formal Languages and Automata Theory (cs.FL)

Flip-sort is a natural sorting procedure which raises fascinating combinatorial questions. It finds its roots in the seminal work of Knuth on stack-based sorting algorithms and leads to many links with permutation patterns. We present several structural, enumerative, and algorithmic results on permutations that need few (resp. many) iterations of this procedure to be sorted. In particular, we give the shape of the permutations after one iteration, and characterize several families of permutations related to the best and worst cases of flip-sort. En passant, we also give some links between pop-stack sorting, automata, and lattice paths, and introduce several tactics of bijective proofs which have their own interest.

[4]  arXiv:2110.07902 (cross-list from cs.PL) [pdf, other]
Title: Zipping Strategies and Attribute Grammars
Subjects: Programming Languages (cs.PL); Data Structures and Algorithms (cs.DS)

Strategic term rewriting and attribute grammars are two powerful programming techniques widely used in language engineering. The former, relies on strategies to apply term rewrite rules in defining language transformations, while the latter is suitable to express context-dependent language processing algorithms. Each of these techniques, however, is usually implemented by its own powerful and large language processor system. As a result, it makes such systems harder to extend and to combine.
In this paper, we present the embedding of both strategic tree rewriting and attribute grammars in a zipper-based, purely functional setting. Zippers provide a simple, but generic tree-walk mechanism that is the building block technique we use to express the purely-functional embedding of both techniques. The embedding of the two techniques in the same setting has several advantages: First, we easily combine/zip attribute grammars and strategies, thus providing language engineers the best of the two worlds. Second, the combined embedding is easier to maintain and extend since it is written in a concise and uniform setting. This results in a very small library which is able to express advanced (static) analysis and transformation tasks. We show the expressive power of our library in optimizing |Haskell| let expressions, expressing several |Haskell| refactorings and solving several language processing tasks of the LDTA Tool Challenge.

Replacements for Mon, 18 Oct 21

[5]  arXiv:2106.06950 (replaced) [pdf]
Title: An efficient way to manage ranges of data with Wise Red-Black Trees
Authors: Alberto Boffi
Comments: Added references to order-statistic trees. Corrected some terms and form. Results unchanged
Subjects: Data Structures and Algorithms (cs.DS); Computational Complexity (cs.CC)
[6]  arXiv:2007.12652 (replaced) [pdf, other]
Title: MurTree: Optimal Classification Trees via Dynamic Programming and Search
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Data Structures and Algorithms (cs.DS); Machine Learning (stat.ML)
[7]  arXiv:2009.06921 (replaced) [pdf, ps, other]
Title: Optimal Decision Trees for Nonlinear Metrics
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Data Structures and Algorithms (cs.DS); Machine Learning (stat.ML)
[ total of 7 entries: 1-7 ]
[ showing up to 2000 entries per page: fewer | more ]

Disable MathJax (What is MathJax?)

Links to: arXiv, form interface, find, cs, recent, 2110, contact, help  (Access key information)