Algoritmo Scout para la Búsqueda Rápida de Subcadenas
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.
Resumen
La coincidencia exacta de subcadenas es una tarea común en muchas aplicaciones de software. A pesar de la existencia de varios algoritmos para determinar si una cadena patrón está presente en una cadena objetivo, la implementación más común es un enfoque naïve y de fuerza bruta. Los enfoques alternativos no ofrecen suficiente beneficio para la complejidad añadida o son imprácticos para conjuntos de caracteres modernos, por ejemplo, Unicode. Presentamos un nuevo algoritmo, Scout, que es sencillo, rápido y adecuado para todas las aplicaciones. También comparamos las características de rendimiento del algoritmo Scout con varias otras.
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.