Next Article in Journal
An Opportunistic Network Routing Algorithm Based on Cosine Similarity of Data Packets between Nodes
Previous Article in Journal
Research of the Vibration Source Tracking in Phase-Sensitive Optical Time-Domain Reflectometry Signals Based by Image Processing Method
Previous Article in Special Issue
Distributed Combinatorial Maps for Parallel Mesh Processing
Article Menu

Export Article

Open AccessArticle
Algorithms 2018, 11(8), 118; https://doi.org/10.3390/a11080118

Sliding Suffix Tree

1
Faculty of Computer and Information Science, University of Ljubljana, 1000 Ljubljana, Slovenia
2
Faculty of Mathematics, Natural Sciences and Information Technologies, University of Primorska, 6000 Koper-Capodistria, Slovenia
*
Author to whom correspondence should be addressed.
Received: 20 June 2018 / Revised: 20 July 2018 / Accepted: 25 July 2018 / Published: 3 August 2018
(This article belongs to the Special Issue Efficient Data Structures)
View Full-Text   |   Download PDF [446 KB, uploaded 3 August 2018]   |  

Abstract

We consider a sliding window W over a stream of characters from some alphabet of constant size. We want to look up a pattern in the current sliding window content and obtain all positions of the matches. We present an indexed version of the sliding window, based on a suffix tree. The data structure of size Θ(|W|) has optimal time queries Θ(m+occ) and amortized constant time updates, where m is the length of the query string and occ is its number of occurrences. View Full-Text
Keywords: suffix tree; online pattern matching; sliding window suffix tree; online pattern matching; sliding window
Figures

Figure 1

This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. (CC BY 4.0).
SciFeed

Share & Cite This Article

MDPI and ACS Style

Brodnik, A.; Jekovec, M. Sliding Suffix Tree. Algorithms 2018, 11, 118.

Show more citation formats Show less citations formats

Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Related Articles

Article Metrics

Article Access Statistics

1

Comments

[Return to top]
Algorithms EISSN 1999-4893 Published by MDPI AG, Basel, Switzerland RSS E-Mail Table of Contents Alert
Back to Top