Rollercoasters with Plateaus
Duncan Adamson, Pamela Fleischmann, Annika Huch

TL;DR
This paper introduces algorithms for detecting, counting, and enumerating maximum length plateau-$k$-rollercoasters, a new type of subsequence with alternating runs of weakly increasing and decreasing sequences allowing plateaus, in strings.
Contribution
It defines plateau-$k$-rollercoasters with runs containing repeated elements and provides efficient algorithms for their detection, counting, and enumeration in single and multiple strings.
Findings
Algorithms run in $O(n \sigma k)$ time for single strings.
Counting maximum length plateau-$k$-rollercoasters is efficient.
All maximum length rollercoasters can be enumerated with linear delay.
Abstract
In this paper we investigate the problem of detecting, counting, and enumerating (generating) all maximum length plateau--rollercoasters appearing as a subsequence of some given word (sequence, string), while allowing for plateaus. We define a plateau--rollercoaster as a word consisting of an alternating sequence of (weakly) increasing and decreasing \emph{runs}, with each run containing at least \emph{distinct} elements, allowing the run to contain multiple copies of the same symbol consecutively. This differs from previous work, where runs within rollercoasters have been defined only as sequences of distinct values. Here, we are concerned with rollercoasters of \emph{maximum} length embedded in a given word , that is, the longest rollercoasters that are a subsequence of . We present algorithms allowing us to determine the longest plateau--roller\-coasters…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTextile materials and evaluations
