{"title":"模式匹配在更少的比较","authors":"R.E. Eggen, C. Kurak","doi":"10.1109/SECON.1992.202380","DOIUrl":null,"url":null,"abstract":"The problem of finding the occurrences of a pattern in a body of text is discussed. Several algorithms exist to solve this problem. The authors provide an overview of the Boyer-Moore algorithm, including its performance characteristics. They explain the implementation of the Kurak algorithm and its performance characteristics and compare the two algorithms. The analysis shows the Kurak algorithm to be superior when counting comparisons and when timing the search. The Kurak algorithm requires preprocessing of the text and thus, for the initial search, more time is required than for the Boyer-Moore algorithm. However, after the text has been processed the Kurak algorithm always provides superior performance.<<ETX>>","PeriodicalId":230446,"journal":{"name":"Proceedings IEEE Southeastcon '92","volume":"69 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1992-04-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Pattern matching in fewer comparisons\",\"authors\":\"R.E. Eggen, C. Kurak\",\"doi\":\"10.1109/SECON.1992.202380\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The problem of finding the occurrences of a pattern in a body of text is discussed. Several algorithms exist to solve this problem. The authors provide an overview of the Boyer-Moore algorithm, including its performance characteristics. They explain the implementation of the Kurak algorithm and its performance characteristics and compare the two algorithms. The analysis shows the Kurak algorithm to be superior when counting comparisons and when timing the search. The Kurak algorithm requires preprocessing of the text and thus, for the initial search, more time is required than for the Boyer-Moore algorithm. However, after the text has been processed the Kurak algorithm always provides superior performance.<<ETX>>\",\"PeriodicalId\":230446,\"journal\":{\"name\":\"Proceedings IEEE Southeastcon '92\",\"volume\":\"69 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1992-04-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings IEEE Southeastcon '92\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SECON.1992.202380\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings IEEE Southeastcon '92","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SECON.1992.202380","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
The problem of finding the occurrences of a pattern in a body of text is discussed. Several algorithms exist to solve this problem. The authors provide an overview of the Boyer-Moore algorithm, including its performance characteristics. They explain the implementation of the Kurak algorithm and its performance characteristics and compare the two algorithms. The analysis shows the Kurak algorithm to be superior when counting comparisons and when timing the search. The Kurak algorithm requires preprocessing of the text and thus, for the initial search, more time is required than for the Boyer-Moore algorithm. However, after the text has been processed the Kurak algorithm always provides superior performance.<>