Algoritmo Scout para Correspondência Rápida de Substrings
Scout Algorithm For Fast Substring Matching
Scout Algorithm For Fast Substring Matching
@misc{natrajan2020scout,
title = {Scout Algorithm For Fast Substring Matching},
author = {Anand Natrajan and Mallige Anand},
year = {2020},
eprint = {2011.04010},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2011.04010}
}
Natrajan, A., & Anand, M. (2020). Scout Algorithm For Fast Substring Matching [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.04010
NATRAJAN A, ANAND M. Scout Algorithm For Fast Substring Matching[EB/OL]. (2020-11-08)[2026-11-30]. https://arxiv.org/abs/2011.04010.
Resumo
A correspondência exata de substratos é uma tarefa comum em muitas aplicações de software. Apesar da existência de vários algoritmos para determinar se uma string de padrão está presente em uma string alvo, a implementação mais comum é uma abordagem ingênua e por força bruta. Abordagens alternativas geralmente não oferecem benefício suficiente em relação à complexidade adicionada ou são impraticáveis para conjuntos de caracteres modernos, como o Unicode. Apresentamos um novo algoritmo, Scout, que é direto, rápido e adequado para todas as aplicações. Também comparamos as características de desempenho do algoritmo Scout com outras.
Exact substring matching is a common task in many software applications. Despite the existence of several algorithms for finding whether or not a pattern string is present in a target string, the most common implementation is a naïve, brute force approach. Alternative approaches either do not provide enough of a benefit for the added complexity, or are impractical for modern character sets, e.g., Unicode. We present a new algorithm, Scout, that is straightforward, quick and appropriate for all applications. We also compare the performance characteristics of the Scout algorithm with several others.