Skip to main content

Showing 1–50 of 51 results for author: Gørtz, I L

Searching in archive cs. Search in all archives.
.
  1. arXiv:2310.19702  [pdf, other

    cs.DS

    Rank and Select on Degenerate Strings

    Authors: Philip Bille, Inge Li Gørtz, Tord Stordalen

    Abstract: A 'degenerate string' is a sequence of subsets of some alphabet; it represents any string obtainable by selecting one character from each set from left to right. Recently, Alanko et al. generalized the rank-select problem to degenerate strings, where given a character $c$ and position $i$ the goal is to find either the $i$th set containing $c$ or the number of occurrences of $c$ in the first $i$ s… ▽ More

    Submitted 4 December, 2023; v1 submitted 30 October, 2023; originally announced October 2023.

  2. arXiv:2310.18068  [pdf, other

    cs.CG cs.DS

    Simple and Robust Dynamic Two-Dimensional Convex Hull

    Authors: Emil Toftegaard Gæde, Inge Li Gørtz, Ivor van der Hoog, Christoffer Krogh, Eva Rotenberg

    Abstract: The convex hull of a data set $P$ is the smallest convex set that contains $P$. In this work, we present a new data structure for convex hull, that allows for efficient dynamic updates. In a dynamic convex hull implementation, the following traits are desirable: (1) algorithms for efficiently answering queries as to whether a specified point is inside or outside the hull, (2) adhering to geometr… ▽ More

    Submitted 31 October, 2023; v1 submitted 27 October, 2023; originally announced October 2023.

    Comments: Accepted for ALENEX24

    ACM Class: E.1; D.2; F.2

  3. arXiv:2306.12771  [pdf, other

    cs.DS

    Fast Compression of Deterministic Finite Automata

    Authors: Philip Bille, Inge Li Gørtz, Max Rishøj Pedersen

    Abstract: We revisit the popular \emph{delayed deterministic finite automaton} (\ddfa{}) compression algorithm introduced by Kumar~et~al.~[SIGCOMM 2006] for compressing deterministic finite automata (DFAs) used in intrusion detection systems. This compression scheme exploits similarities in the outgoing sets of transitions among states to achieve strong compression while maintaining high throughput for matc… ▽ More

    Submitted 19 January, 2024; v1 submitted 22 June, 2023; originally announced June 2023.

  4. arXiv:2301.09477  [pdf, other

    cs.DS

    Sliding Window String Indexing in Streams

    Authors: Philip Bille, Johannes Fischer, Inge Li Gørtz, Max Rishøj Pedersen, Tord Joakim Stordalen

    Abstract: Given a string $S$ over an alphabet $Σ$, the 'string indexing problem' is to preprocess $S$ to subsequently support efficient pattern matching queries, i.e., given a pattern string $P$ report all the occurrences of $P$ in $S$. In this paper we study the 'streaming sliding window string indexing problem'. Here the string $S$ arrives as a stream, one character at a time, and the goal is to maintain… ▽ More

    Submitted 23 January, 2023; originally announced January 2023.

  5. arXiv:2211.16860  [pdf, other

    cs.DS

    Gapped String Indexing in Subquadratic Space and Sublinear Query Time

    Authors: Philip Bille, Inge Li Gørtz, Moshe Lewenstein, Solon P. Pissis, Eva Rotenberg, Teresa Anna Steiner

    Abstract: In Gapped String Indexing, the goal is to compactly represent a string $S$ of length $n$ such that for any query consisting of two strings $P_1$ and $P_2$, called patterns, and an integer interval $[α, β]$, called gap range, we can quickly find occurrences of $P_1$ and $P_2$ in $S$ with distance in $[α, β]$. Gapped String Indexing is a central problem in computational biology and text mining and h… ▽ More

    Submitted 5 March, 2024; v1 submitted 30 November, 2022; originally announced November 2022.

    Comments: 19 pages, 2 figures. To appear at STACS 2024

  6. arXiv:2208.11371  [pdf, ps, other

    cs.DS

    Hierarchical Relative Lempel-Ziv Compression

    Authors: Philip Bille, Inge Li Gørtz, Simon J. Puglisi, Simon R. Tarnow

    Abstract: Relative Lempel-Ziv (RLZ) parsing is a dictionary compression method in which a string $S$ is compressed relative to a second string $R$ (called the reference) by parsing $S$ into a sequence of substrings that occur in $R$. RLZ is particularly effective at compressing sets of strings that have a high degree of similarity to the reference string, such as a set of genomes of individuals from the sam… ▽ More

    Submitted 24 August, 2022; originally announced August 2022.

  7. arXiv:2206.10383  [pdf, other

    cs.DS

    The Complexity of the Co-Occurrence Problem

    Authors: Philip Bille, Inge Li Gørtz, Tord Stordalen

    Abstract: Let $S$ be a string of length $n$ over an alphabet $Σ$ and let $Q$ be a subset of $Σ$ of size $q \geq 2$. The 'co-occurrence problem' is to construct a compact data structure that supports the following query: given an integer $w$ return the number of length-$w$ substrings of $S$ that contain each character of $Q$ at least once. This is a natural string problem with applications to, e.g., data min… ▽ More

    Submitted 10 November, 2022; v1 submitted 21 June, 2022; originally announced June 2022.

  8. arXiv:2201.11550  [pdf, other

    cs.DS

    Predecessor on the Ultra-Wide Word RAM

    Authors: Philip Bille, Inge Li Gørtz, Tord Stordalen

    Abstract: We consider the predecessor problem on the ultra-wide word RAM model of computation, which extends the word RAM model with 'ultrawords' consisting of $w^2$ bits [TAMC, 2015]. The model supports arithmetic and boolean operations on ultrawords, in addition to 'scattered' memory operations that access or modify $w$ (potentially non-contiguous) memory addresses simultaneously. The ultra-wide word RAM… ▽ More

    Submitted 29 July, 2022; v1 submitted 27 January, 2022; originally announced January 2022.

  9. arXiv:2108.08613  [pdf, ps, other

    cs.DS cs.CC

    The Fine-Grained Complexity of Episode Matching

    Authors: Philip Bille, Inge Li Gørtz, Shay Mozes, Teresa Anna Steiner, Oren Weimann

    Abstract: Given two strings $S$ and $P$, the Episode Matching problem is to find the shortest substring of $S$ that contains $P$ as a subsequence. The best known upper bound for this problem is $\tilde O(nm)$ by Das et al. (1997) , where $n,m$ are the lengths of $S$ and $P$, respectively. Although the problem is well studied and has many applications in data mining, this bound has never been improved. In th… ▽ More

    Submitted 14 February, 2024; v1 submitted 19 August, 2021; originally announced August 2021.

    Comments: This is the full version of a paper accepted to CPM 2022

  10. arXiv:2102.02505  [pdf, other

    cs.DS

    Gapped Indexing for Consecutive Occurrences

    Authors: Philip Bille, Inge Li Gørtz, Max Rishøj Pedersen, Teresa Anna Steiner

    Abstract: The classic string indexing problem is to preprocess a string S into a compact data structure that supports efficient pattern matching queries. Typical queries include existential queries (decide if the pattern occurs in S), reporting queries (return all positions where the pattern occurs), and counting queries (return the number of occurrences of the pattern). In this paper we consider a variant… ▽ More

    Submitted 4 February, 2021; originally announced February 2021.

    Comments: 17 pages, 3 figures

  11. String Indexing for Top-$k$ Close Consecutive Occurrences

    Authors: Philip Bille, Inge Li Gørtz, Max Rishøj Pedersen, Eva Rotenberg, Teresa Anna Steiner

    Abstract: The classic string indexing problem is to preprocess a string $S$ into a compact data structure that supports efficient subsequent pattern matching queries, that is, given a pattern string $P$, report all occurrences of $P$ within $S$. In this paper, we study a basic and natural extension of string indexing called the string indexing for top-$k$ close consecutive occurrences problem (SITCCO). Here… ▽ More

    Submitted 14 February, 2024; v1 submitted 8 July, 2020; originally announced July 2020.

    Comments: Updated to accepted journal version

    Journal ref: journal: Theor. Comput. Sci. volume: 927 pages: 133 - 147 year: 2022

  12. arXiv:2006.15575  [pdf, other

    cs.DS

    Random Access in Persistent Strings and Segment Selection

    Authors: Philip Bille, Inge Li Gørtz

    Abstract: We consider compact representations of collections of similar strings that support random access queries. The collection of strings is given by a rooted tree where edges are labeled by an edit operation (inserting, deleting, or replacing a character) and a node represents the string obtained by applying the sequence of edit operations on the path from the root to the node. The goal is to compactly… ▽ More

    Submitted 11 February, 2021; v1 submitted 28 June, 2020; originally announced June 2020.

    Comments: Extended abstract at ISAAC 2020

  13. arXiv:1911.03542  [pdf, ps, other

    cs.DS

    Space Efficient Construction of Lyndon Arrays in Linear Time

    Authors: Philip Bille, Jonas Ellert, Johannes Fischer, Inge Li Gørtz, Florian Kurpicz, Ian Munro, Eva Rotenberg

    Abstract: We present the first linear time algorithm to construct the $2n$-bit version of the Lyndon array for a string of length $n$ using only $o(n)$ bits of working space. A simpler variant of this algorithm computes the plain ($n\lg n$-bit) version of the Lyndon array using only $\mathcal{O}(1)$ words of additional working space. All previous algorithms are either not linear, or use at least $n\lg n$ bi… ▽ More

    Submitted 10 December, 2019; v1 submitted 8 November, 2019; originally announced November 2019.

  14. String Indexing with Compressed Patterns

    Authors: Philip Bille, Inge Li Gørtz, Teresa Anna Steiner

    Abstract: Given a string $S$ of length $n$, the classic string indexing problem is to preprocess $S$ into a compact data structure that supports efficient subsequent pattern queries. In this paper we consider the basic variant where the pattern is given in compressed form and the goal is to achieve query time that is fast in terms of the compressed size of the pattern. This captures the common client-server… ▽ More

    Submitted 14 February, 2024; v1 submitted 26 September, 2019; originally announced September 2019.

    Comments: Accepted journal version

    Journal ref: journal: ACM Trans. Algorithms, volume 19, pages 32:1-32:19, year 2023

  15. arXiv:1908.10159  [pdf, other

    cs.DS

    Partial Sums on the Ultra-Wide Word RAM

    Authors: Philip Bille, Inge Li Gørtz, Frederik Rye Skjoldjensen

    Abstract: We consider the classic partial sums problem on the ultra-wide word RAM model of computation. This model extends the classic $w$-bit word RAM model with special ultrawords of length $w^2$ bits that support standard arithmetic and boolean operation and scattered memory access operations that can access $w$ (non-contiguous) locations in memory. The ultra-wide word RAM model captures (and idealizes)… ▽ More

    Submitted 30 September, 2020; v1 submitted 27 August, 2019; originally announced August 2019.

    Comments: Extended abstract appeared at TAMC 2020

  16. arXiv:1907.04752  [pdf, other

    cs.DS

    Sparse Regular Expression Matching

    Authors: Philip Bille, Inge Li Gørtz

    Abstract: A regular expression specifies a set of strings formed by single characters combined with concatenation, union, and Kleene star operators. Given a regular expression $R$ and a string $Q$, the regular expression matching problem is to decide if $Q$ matches any of the strings specified by $R$. Regular expressions are a fundamental concept in formal languages and regular expression matching is a basi… ▽ More

    Submitted 6 November, 2023; v1 submitted 10 July, 2019; originally announced July 2019.

  17. arXiv:1902.02187  [pdf, other

    cs.DS

    Top Tree Compression of Tries

    Authors: Philip Bille, Inge Li Gørtz, Paweł Gawrychowski, Gad M. Landau, Oren Weimann

    Abstract: We present a compressed representation of tries based on top tree compression [ICALP 2013] that works on a standard, comparison-based, pointer machine model of computation and supports efficient prefix search queries. Namely, we show how to preprocess a set of strings of total length $n$ over an alphabet of size $σ$ into a compressed data structure of worst-case optimal size $O(n/\log_σn)$ that gi… ▽ More

    Submitted 20 September, 2019; v1 submitted 6 February, 2019; originally announced February 2019.

    Comments: Extended abstract appeared at ISAAC 2019

  18. arXiv:1901.06581  [pdf, other

    cs.DS

    Approximation Algorithms for the A Priori TravelingRepairman

    Authors: Inge Li Gørtz, Viswanath Nagarajan, Fatemeh Navidi

    Abstract: We consider the a priori traveling repairman problem, which is a stochastic version of the classic traveling repairman problem (also called the traveling deliveryman or minimum latency problem). Given a metric $(V,d)$ with a root $r\in V$, the traveling repairman problem (TRP) involves finding a tour originating from $r$ that minimizes the sum of arrival-times at all vertices. In its a priori vers… ▽ More

    Submitted 19 January, 2019; originally announced January 2019.

  19. arXiv:1901.00718  [pdf, ps, other

    cs.DS

    Mergeable Dictionaries With Shifts

    Authors: Philip Bille, Mikko Berggren Etienne, Inge Li Gørtz

    Abstract: We revisit the mergeable dictionaries with shift problem, where the goal is to maintain a family of sets subject to search, split, merge, make-set, and shift operations. The search, split, and make-set operations are the usual well-known textbook operations. The merge operation merges two sets and the shift operation adds or subtracts an integer from all elements in a set. Note that unlike the joi… ▽ More

    Submitted 3 January, 2019; originally announced January 2019.

  20. arXiv:1806.03102  [pdf, ps, other

    cs.DS

    Compressed Communication Complexity of Longest Common Prefixes

    Authors: Philip Bille, Mikko Berggreen Ettienne, Roberto Grossi, Inge Li Gørtz, Eva Rotenberg

    Abstract: We consider the communication complexity of fundamental longest common prefix (Lcp) problems. In the simplest version, two parties, Alice and Bob, each hold a string, $A$ and $B$, and we want to determine the length of their longest common prefix $l=\text{Lcp}(A,B)$ using as few rounds and bits of communication as possible. We show that if the longest common prefix of $A$ and $B$ is compressible,… ▽ More

    Submitted 8 June, 2018; originally announced June 2018.

  21. arXiv:1804.02906  [pdf, other

    cs.DS

    From Regular Expression Matching to Parsing

    Authors: Philip Bille, Inge Li Gørtz

    Abstract: Given a regular expression $R$ and a string $Q$, the regular expression parsing problem is to determine if $Q$ matches $R$ and if so, determine how it matches, e.g., by a map** of the characters of $Q$ to the characters in $R$. Regular expression parsing makes finding matches of a regular expression even more useful by allowing us to directly extract subpatterns of the match, e.g., for extractin… ▽ More

    Submitted 29 January, 2019; v1 submitted 9 April, 2018; originally announced April 2018.

  22. arXiv:1802.10347  [pdf, other

    cs.DS

    Decompressing Lempel-Ziv Compressed Text

    Authors: Philip Bille, Mikko Berggren Ettienne, Travis Gagie, Inge Li Gørtz, Nicola Prezza

    Abstract: We consider the problem of decompressing the Lempel--Ziv 77 representation of a string $S$ of length $n$ using a working space as close as possible to the size $z$ of the input. The folklore solution for the problem runs in $O(n)$ time but requires random access to the whole decompressed text. Another folklore solution is to convert LZ77 into a grammar of size $O(z\log(n/z))$ and then stream $S$ i… ▽ More

    Submitted 4 November, 2019; v1 submitted 28 February, 2018; originally announced February 2018.

  23. arXiv:1711.07270  [pdf, ps, other

    cs.DS

    A Separation Between Run-Length SLPs and LZ77

    Authors: Philip Bille, Travis Gagie, Inge Li Gørtz, Nicola Prezza

    Abstract: In this paper we give an infinite family of strings for which the length of the Lempel-Ziv'77 parse is a factor $Ω(\log n/\log\log n)$ smaller than the smallest run-length grammar.

    Submitted 20 November, 2017; originally announced November 2017.

  24. Fast Dynamic Arrays

    Authors: Philip Bille, Anders Roy Christiansen, Mikko Berggren Ettienne, Inge Li Gørtz

    Abstract: We present a highly optimized implementation of tiered vectors, a data structure for maintaining a sequence of $n$ elements supporting access in time $O(1)$ and insertion and deletion in time $O(n^ε)$ for $ε> 0$ while using $o(n)$ extra space. We consider several different implementation optimizations in C++ and compare their performance to that of vector and multiset from the standard library on… ▽ More

    Submitted 1 November, 2017; originally announced November 2017.

    ACM Class: F.2.2; E.1

  25. Time-Space Trade-Offs for Lempel-Ziv Compressed Indexing

    Authors: Philip Bille, Mikko Berggren Ettienne, Inge Li Gørtz, Hjalte Wedel Vildhøj

    Abstract: Given a string $S$, the \emph{compressed indexing problem} is to preprocess $S$ into a compressed representation that supports fast \emph{substring queries}. The goal is to use little space relative to the compressed size of $S$ while supporting fast queries. We present a compressed index based on the Lempel--Ziv 1977 compression scheme. We obtain the following time-space trade-offs: For constant-… ▽ More

    Submitted 9 January, 2018; v1 submitted 30 June, 2017; originally announced June 2017.

    ACM Class: F.2.2; E.4; E.1

  26. arXiv:1704.08558  [pdf, other

    cs.DS

    Practical and Effective Re-Pair Compression

    Authors: Philip Bille, Inge Li Gørtz, Nicola Prezza

    Abstract: Re-Pair is an efficient grammar compressor that operates by recursively replacing high-frequency character pairs with new grammar symbols. The most space-efficient linear-time algorithm computing Re-Pair uses $(1+ε)n+\sqrt n$ words on top of the re-writable text (of length $n$ and stored in $n$ words), for any constant $ε>0$; in practice however, this solution uses complex sub-procedures preventin… ▽ More

    Submitted 27 April, 2017; originally announced April 2017.

  27. arXiv:1612.01748  [pdf, ps, other

    cs.DS

    Deterministic Indexing for Packed Strings

    Authors: Philip Bille, Inge Li Gørtz, Frederik Rye Skjoldjensen

    Abstract: Given a string $S$ of length $n$, the classic string indexing problem is to preprocess $S$ into a compact data structure that supports efficient subsequent pattern queries. In the \emph{deterministic} variant the goal is to solve the string indexing problem without any randomization (at preprocessing time or query time). In the \emph{packed} variant the strings are stored with several character in… ▽ More

    Submitted 6 December, 2016; originally announced December 2016.

    ACM Class: E.1; F.2.2; E.4

  28. arXiv:1611.01479  [pdf, other

    cs.DS

    Space-Efficient Re-Pair Compression

    Authors: Philip Bille, Inge Li Gørtz, Nicola Prezza

    Abstract: Re-Pair is an effective grammar-based compression scheme achieving strong compression rates in practice. Let $n$, $σ$, and $d$ be the text length, alphabet size, and dictionary size of the final grammar, respectively. In their original paper, the authors show how to compute the Re-Pair grammar in expected linear time and $5n + 4σ^2 + 4d + \sqrt{n}$ words of working space on top of the text. In thi… ▽ More

    Submitted 4 November, 2016; originally announced November 2016.

  29. arXiv:1510.08748  [pdf, ps, other

    cs.FL cs.DS

    Subsequence Automata with Default Transitions

    Authors: Philip Bille, Inge Li Gørtz, Frederik Rye Skjoldjensen

    Abstract: Let $S$ be a string of length $n$ with characters from an alphabet of size $σ$. The \emph{subsequence automaton} of $S$ (often called the \emph{directed acyclic subsequence graph}) is the minimal deterministic finite automaton accepting all subsequences of $S$. A straightforward construction shows that the size (number of states and transitions) of the subsequence automaton is $O(nσ)$ and that thi… ▽ More

    Submitted 19 January, 2016; v1 submitted 29 October, 2015; originally announced October 2015.

    Comments: Corrected typos

  30. arXiv:1507.04046  [pdf, ps, other

    cs.DS

    Distance labeling schemes for trees

    Authors: Stephen Alstrup, Inge Li Gørtz, Esben Bistrup Halvorsen, Ely Porat

    Abstract: We consider distance labeling schemes for trees: given a tree with $n$ nodes, label the nodes with binary strings such that, given the labels of any two nodes, one can determine, by looking only at the labels, the distance in the tree between the two nodes. A lower bound by Gavoille et. al. (J. Alg. 2004) and an upper bound by Peleg (J. Graph Theory 2000) establish that labels must use… ▽ More

    Submitted 14 July, 2015; originally announced July 2015.

  31. arXiv:1507.02853  [pdf, other

    cs.DS

    Finger Search in Grammar-Compressed Strings

    Authors: Philip Bille, Anders Roy Christiansen, Patrick Hagge Cording, Inge Li Gørtz

    Abstract: Grammar-based compression, where one replaces a long string by a small context-free grammar that generates the string, is a simple and powerful paradigm that captures many popular compression schemes. Given a grammar, the random access problem is to compactly represent the grammar while supporting random access, that is, given a position in the original uncompressed string report the character at… ▽ More

    Submitted 16 November, 2016; v1 submitted 10 July, 2015; originally announced July 2015.

  32. arXiv:1504.07851  [pdf, ps, other

    cs.DS

    Dynamic Relative Compression, Dynamic Partial Sums, and Substring Concatenation

    Authors: Philip Bille, Patrick Hagge Cording, Inge Li Gørtz, Frederik Rye Skjoldjensen, Hjalte Wedel Vildhøj, Søren Vind

    Abstract: Given a static reference string $R$ and a source string $S$, a relative compression of $S$ with respect to $R$ is an encoding of $S$ as a sequence of references to substrings of $R$. Relative compression schemes are a classic model of compression and have recently proved very successful for compressing highly-repetitive massive data sets such as genomes and web-data. We initiate the study of relat… ▽ More

    Submitted 16 September, 2016; v1 submitted 29 April, 2015; originally announced April 2015.

  33. arXiv:1504.02671  [pdf, ps, other

    cs.DS

    Longest Common Extensions in Sublinear Space

    Authors: Philip Bille, Inge Li Gørtz, Mathias Bæk Tejs Knudsen, Moshe Lewenstein, Hjalte Wedel Vildhøj

    Abstract: The longest common extension problem (LCE problem) is to construct a data structure for an input string $T$ of length $n$ that supports LCE$(i,j)$ queries. Such a query returns the length of the longest common prefix of the suffixes starting at positions $i$ and $j$ in $T$. This classic problem has a well-known solution that uses $O(n)$ space and $O(1)$ query time. In this paper we show that for a… ▽ More

    Submitted 10 April, 2015; originally announced April 2015.

    Comments: An extended abstract of this paper has been accepted to CPM 2015

  34. arXiv:1412.1254  [pdf, other

    cs.DS

    Longest Common Extensions in Trees

    Authors: Philip Bille, Pawel Gawrychowski, Inge Li Goertz, Gad M. Landau, Oren Weimann

    Abstract: The longest common extension (LCE) of two indices in a string is the length of the longest identical substrings starting at these two indices. The LCE problem asks to preprocess a string into a compact data structure that supports fast LCE queries. In this paper we generalize the LCE problem to trees and suggest a few applications of LCE in trees to tries and XML databases. Given a labeled and roo… ▽ More

    Submitted 9 July, 2015; v1 submitted 3 December, 2014; originally announced December 2014.

  35. arXiv:1403.1065  [pdf, ps, other

    cs.DS

    Compressed Subsequence Matching and Packed Tree Coloring

    Authors: Philip Bille, Patrick Hagge Cording, Inge Li Gørtz

    Abstract: We present a new algorithm for subsequence matching in grammar compressed strings. Given a grammar of size $n$ compressing a string of size $N$ and a pattern string of size $m$ over an alphabet of size $σ$, our algorithm uses $O(n+\frac{nσ}{w})$ space and $O(n+\frac{nσ}{w}+m\log N\log w\cdot occ)$ or $O(n+\frac{nσ}{w}\log w+m\log N\cdot occ)$ time. Here $w$ is the word size and $occ$ is the number… ▽ More

    Submitted 5 June, 2014; v1 submitted 5 March, 2014; originally announced March 2014.

    Comments: To appear at CPM '14

  36. arXiv:1305.2777  [pdf, ps, other

    cs.DS

    Fingerprints in Compressed Strings

    Authors: Philip Bille, Patrick Hagge Cording, Inge Li Gørtz, Benjamin Sach, Hjalte Wedel Vildhøj, Søren Vind

    Abstract: The Karp-Rabin fingerprint of a string is a type of hash value that due to its strong properties has been used in many string algorithms. In this paper we show how to construct a data structure for a string $S$ of size $N$ compressed by a context-free grammar of size $n$ that answers fingerprint queries. That is, given indices $i$ and $j$, the answer to a query is the fingerprint of the substring… ▽ More

    Submitted 16 May, 2013; v1 submitted 13 May, 2013; originally announced May 2013.

    Comments: An extended abstract of this paper will appear at WADS 2013

  37. arXiv:1304.5702  [pdf, other

    cs.DS

    Tree Compression with Top Trees

    Authors: Philip Bille, Inge Li Goertz, Gad M. Landau, Oren Weimann

    Abstract: We introduce a new compression scheme for labeled trees based on top trees. Our compression scheme is the first to simultaneously take advantage of internal repeats in the tree (as opposed to the classical DAG compression that only exploits rooted subtree repeats) while also supporting fast navigational queries directly on the compressed representation. We show that the new compression scheme achi… ▽ More

    Submitted 11 May, 2014; v1 submitted 21 April, 2013; originally announced April 2013.

    Comments: An extended abstract of this paper appeared at the 40th International Colloquium on Automata, Languages and Programming

  38. arXiv:1304.5373  [pdf, ps, other

    cs.DS

    Compact q-gram Profiling of Compressed Strings

    Authors: Philip Bille, Patrick Hagge Cording, Inge Li Gørtz

    Abstract: We consider the problem of computing the q-gram profile of a string \str of size $N$ compressed by a context-free grammar with $n$ production rules. We present an algorithm that runs in $O(N-α)$ expected time and uses $O(n+q+\kq)$ space, where $N-α\leq qn$ is the exact number of characters decompressed by the algorithm and $\kq\leq N-α$ is the number of distinct q-grams in $\str$. This simultaneou… ▽ More

    Submitted 6 June, 2014; v1 submitted 19 April, 2013; originally announced April 2013.

  39. arXiv:1211.0270  [pdf, other

    cs.DS

    Time-Space Trade-Offs for Longest Common Extensions

    Authors: Philip Bille, Inge Li Goertz, Benjamin Sach, Hjalte Wedel Vildhøj

    Abstract: We revisit the longest common extension (LCE) problem, that is, preprocess a string $T$ into a compact data structure that supports fast LCE queries. An LCE query takes a pair $(i,j)$ of indices in $T$ and returns the length of the longest common prefix of the suffixes of $T$ starting at positions $i$ and $j$. We study the time-space trade-offs for the problem, that is, the space used for the data… ▽ More

    Submitted 22 April, 2013; v1 submitted 1 November, 2012; originally announced November 2012.

    Comments: A preliminary version of this paper appeared in the proceedings of the 23rd Annual Symposium on Combinatorial Pattern Matching (CPM 2012)

  40. arXiv:1207.1135  [pdf, ps, other

    cs.DS

    Sparse Suffix Tree Construction with Small Space

    Authors: Philip Bille, Inge Li Gørtz, Tsvi Kopelowitz, Benjamin Sach, Hjalte Wedel Vildhøj

    Abstract: We consider the problem of constructing a sparse suffix tree (or suffix array) for $b$ suffixes of a given text $T$ of size $n$, using only $O(b)$ words of space during construction time. Breaking the naive bound of $Ω(nb)$ time for this problem has occupied many algorithmic researchers since a different structure, the (evenly spaced) sparse suffix tree, was introduced by K{ä}rkk{ä}inen and Ukkone… ▽ More

    Submitted 4 July, 2012; originally announced July 2012.

    Comments: 7 pages, submitted

  41. arXiv:1202.5797  [pdf, ps, other

    cs.DS cs.CC

    Stochastic Vehicle Routing with Recourse

    Authors: Inge Li Goertz, Viswanath Nagarajan, Rishi Saket

    Abstract: We study the classic Vehicle Routing Problem in the setting of stochastic optimization with recourse. StochVRP is a two-stage optimization problem, where demand is satisfied using two routes: fixed and recourse. The fixed route is computed using only a demand distribution. Then after observing the demand instantiations, a recourse route is computed -- but costs here become more expensive by a fact… ▽ More

    Submitted 1 March, 2012; v1 submitted 26 February, 2012; originally announced February 2012.

    Comments: 20 Pages, 1 figure Revision corrects the statement and proof of Theorem 1.2

    MSC Class: 68Q25; 68W05 ACM Class: F.2.2; G.2.0

  42. arXiv:1110.5236  [pdf, ps, other

    cs.DS

    String Indexing for Patterns with Wildcards

    Authors: Philip Bille, Inge Li Goertz, Hjalte Wedel Vildhøj, Søren Vind

    Abstract: We consider the problem of indexing a string $t$ of length $n$ to report the occurrences of a query pattern $p$ containing $m$ characters and $j$ wildcards. Let $occ$ be the number of occurrences of $p$ in $t$, and $σ$ the size of the alphabet. We obtain the following results. - A linear space index with query time $O(m+σ^j \log \log n + occ)$. This significantly improves the previously best kno… ▽ More

    Submitted 6 September, 2012; v1 submitted 24 October, 2011; originally announced October 2011.

  43. arXiv:1110.2893  [pdf, ps, other

    cs.DS

    String Matching with Variable Length Gaps

    Authors: Philip Bille, Inge Li Goertz, Hjalte Wedel Vildhøj, David Kofoed Wind

    Abstract: We consider string matching with variable length gaps. Given a string $T$ and a pattern $P$ consisting of strings separated by variable length gaps (arbitrary strings of length in a specified range), the problem is to find all ending positions of substrings in $T$ that match $P$. This problem is a basic primitive in computational biology applications. Let $m$ and $n$ be the lengths of $P$ and $T$,… ▽ More

    Submitted 13 October, 2011; originally announced October 2011.

    Comments: draft of full version, extended abstract at SPIRE 2010

  44. arXiv:1108.3683  [pdf, other

    cs.DS

    Substring Range Reporting

    Authors: Philip Bille, Inge Li Goertz

    Abstract: We revisit various string indexing problems with range reporting features, namely, position-restricted substring searching, indexing substrings with gaps, and indexing substrings with intervals. We obtain the following main results. {itemize} We give efficient reductions for each of the above problems to a new problem, which we call \emph{substring range reporting}. Hence, we unify the previous wo… ▽ More

    Submitted 18 August, 2011; originally announced August 2011.

  45. arXiv:1103.0985  [pdf, other

    cs.DS

    Locating Depots for Capacitated Vehicle Routing

    Authors: Inge Li Goertz, Viswanath Nagarajan

    Abstract: We study a location-routing problem in the context of capacitated vehicle routing. The input is a set of demand locations in a metric space and a fleet of k vehicles each of capacity Q. The objective is to locate k depots, one for each vehicle, and compute routes for the vehicles so that all demands are satisfied and the total cost is minimized. Our main result is a constant-factor approximation a… ▽ More

    Submitted 4 March, 2011; originally announced March 2011.

    Comments: 12 pages, 1 figure

  46. arXiv:1102.5450  [pdf, other

    cs.DS

    Minimum Makespan Multi-vehicle Dial-a-Ride

    Authors: Inge Li Goertz, Viswanath Nagarajan, R. Ravi

    Abstract: Dial a ride problems consist of a metric space (denoting travel time between vertices) and a set of m objects represented as source-destination pairs, where each object requires to be moved from its source to destination vertex. We consider the multi-vehicle Dial a ride problem, with each vehicle having capacity k and its own depot-vertex, where the objective is to minimize the maximum completion… ▽ More

    Submitted 26 February, 2011; originally announced February 2011.

    Comments: 22 pages, 1 figure. Preliminary version appeared in ESA 2009

  47. arXiv:1012.1850  [pdf, other

    cs.DS

    Capacitated Vehicle Routing with Non-Uniform Speeds

    Authors: Inge Li Gortz, Marco Molinaro, Viswanath Nagarajan, R. Ravi

    Abstract: The capacitated vehicle routing problem (CVRP) involves distributing (identical) items from a depot to a set of demand locations, using a single capacitated vehicle. We study a generalization of this problem to the setting of multiple vehicles having non-uniform speeds (that we call Heterogenous CVRP), and present a constant-factor approximation algorithm. The technical heart of our result lies… ▽ More

    Submitted 8 December, 2010; originally announced December 2010.

  48. arXiv:0911.0577  [pdf, ps, other

    cs.DS

    Fast Arc-Annotated Subsequence Matching in Linear Space

    Authors: Philip Bille, Inge Li Goertz

    Abstract: An arc-annotated string is a string of characters, called bases, augmented with a set of pairs, called arcs, each connecting two bases. Given arc-annotated strings $P$ and $Q$ the arc-preserving subsequence problem is to determine if $P$ can be obtained from $Q$ by deleting bases from $Q$. Whenever a base is deleted any arc with an endpoint in that base is also deleted. Arc-annotated strings where… ▽ More

    Submitted 8 September, 2010; v1 submitted 3 November, 2009; originally announced November 2009.

    Comments: To appear in Algoritmica

  49. arXiv:cs/0609085  [pdf, ps, other

    cs.DS

    Improved Approximate String Matching and Regular Expression Matching on Ziv-Lempel Compressed Texts

    Authors: Philip Bille, Rolf Fagerberg, Inge Li Goertz

    Abstract: We study the approximate string matching and regular expression matching problem for the case when the text to be searched is compressed with the Ziv-Lempel adaptive dictionary compression schemes. We present a time-space trade-off that leads to algorithms improving the previously known complexities for both problems. In particular, we significantly improve the space bounds, which in practical a… ▽ More

    Submitted 3 May, 2007; v1 submitted 15 September, 2006; originally announced September 2006.

  50. arXiv:cs/0608124  [pdf, ps, other

    cs.DS

    The Tree Inclusion Problem: In Linear Space and Faster

    Authors: Philip Bille, Inge Li Goertz

    Abstract: Given two rooted, ordered, and labeled trees $P$ and $T$ the tree inclusion problem is to determine if $P$ can be obtained from $T$ by deleting nodes in $T$. This problem has recently been recognized as an important query primitive in XML databases. Kilpeläinen and Mannila [\emph{SIAM J. Comput. 1995}] presented the first polynomial time algorithm using quadratic time and space. Since then several… ▽ More

    Submitted 18 January, 2011; v1 submitted 31 August, 2006; originally announced August 2006.

    Comments: Minor updates from last time