빠른 부분 문자열 매칭을 위한 스카우트 알고리즘
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.
초록
정확한 부분 문자열 매칭은 다양한 소프트웨어 애플리케이션에서 흔한 작업입니다. 패턴 문자열이 대상 문자열에 존재하는지 여부를 찾는 데 사용되는 여러 알고리즘이 존재하지만, 가장 일반적인 구현은 단순하고 무차별 대입법 (brute force) 접근법입니다. 대안적 접근법들은 추가된 복잡성에 비해 충분한 이점을 제공하지 않거나, 현대 문자 집합 (예: 유니코드) 에 대해 비실용적입니다. 우리는 모든 애플리케이션에 적합하며 직관적이고 빠른 새로운 알고리즘인 Scout 를 제시합니다. 또한 Scout 알고리즘의 성능 특성을 다른 몇 가지 알고리즘과 비교합니다.
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.