{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,15]],"date-time":"2026-10-15T01:35:52Z","timestamp":1792028152473,"version":"4.4.0"},"reference-count":63,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2020,12,28]],"date-time":"2020-12-28T00:00:00Z","timestamp":1609113600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Entropy"],"abstract":"<jats:p>The string-matching paradigm is applied in every computer science and science branch in general. The existence of a plethora of string-matching algorithms makes it hard to choose the best one for any particular case. Expressing, measuring, and testing algorithm efficiency is a challenging task with many potential pitfalls. Algorithm efficiency can be measured based on the usage of different resources. In software engineering, algorithmic productivity is a property of an algorithm execution identified with the computational resources the algorithm consumes. Resource usage in algorithm execution could be determined, and for maximum efficiency, the goal is to minimize resource usage. Guided by the fact that standard measures of algorithm efficiency, such as execution time, directly depend on the number of executed actions. Without touching the problematics of computer power consumption or memory, which also depends on the algorithm type and the techniques used in algorithm development, we have developed a methodology which enables the researchers to choose an efficient algorithm for a specific domain. String searching algorithms efficiency is usually observed independently from the domain texts being searched. This research paper aims to present the idea that algorithm efficiency depends on the properties of searched string and properties of the texts being searched, accompanied by the theoretical analysis of the proposed approach. In the proposed methodology, algorithm efficiency is expressed through character comparison count metrics. The character comparison count metrics is a formal quantitative measure independent of algorithm implementation subtleties and computer platform differences. The model is developed for a particular problem domain by using appropriate domain data (patterns and texts) and provides for a specific domain the ranking of algorithms according to the patterns\u2019 entropy. The proposed approach is limited to on-line exact string-matching problems based on information entropy for a search pattern. Meticulous empirical testing depicts the methodology implementation and purports soundness of the methodology.<\/jats:p>","DOI":"10.3390\/e23010031","type":"journal-article","created":{"date-parts":[[2020,12,28]],"date-time":"2020-12-28T10:33:56Z","timestamp":1609151636000},"page":"31","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":6,"title":["Entropy-Based Approach in Selection Exact String-Matching Algorithms"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3744-0731","authenticated-orcid":false,"given":"Ivan","family":"Marki\u0107","sequence":"first","affiliation":[{"name":"Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3954-7049","authenticated-orcid":false,"given":"Maja","family":"\u0160tula","sequence":"additional","affiliation":[{"name":"Department of Electronics and Computing, Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Marija","family":"Zori\u0107","sequence":"additional","affiliation":[{"name":"IT Department, Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Darko","family":"Stipani\u010dev","sequence":"additional","affiliation":[{"name":"Department of Electronics and Computing, Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture, University of Split, 21000 Split, Croatia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2020,12,28]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Xiong, J. (2006). Essential Bioinformatics, Cambridge University Press.","DOI":"10.1017\/CBO9780511806087"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"117","DOI":"10.1109\/TCBB.2016.2620143","article-title":"Efficient algorithms for sequence analysis with entropic profiles","volume":"15","author":"Pizzi","year":"2018","journal-title":"IEEE\/ACM Trans. Comput. Biol. Bioinform."},{"key":"ref_3","unstructured":"Faro, S., Lecroq, T., and Borz, S. (2016). The String Matching Algorithms Research Tool. Proc. Prague Stringol. Conf., 99\u2013113."},{"key":"ref_4","first-page":"144","article-title":"A Survey of String Matching Algorithms","volume":"4","author":"Alshagarin","year":"2014","journal-title":"J. Eng. Res. Appl."},{"key":"ref_5","first-page":"219","article-title":"String Matching and its Application in Diversified Fields","volume":"9","author":"SaiKrishna","year":"2012","journal-title":"IJCSI Int. J. Comput. Sci. Issues"},{"key":"ref_6","unstructured":"Sedgewick, R., and Flajolet, P. (2013). An Introduction to the Analysis of Algorithms, Addison-Wesley\/Pearson Education. [2nd ed.]."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"411","DOI":"10.1080\/00207160108805036","article-title":"On-line string matching algorithms: Survey and experimental results","volume":"76","author":"Michailidis","year":"2001","journal-title":"Int. J. Comput. Math."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"145","DOI":"10.1007\/978-3-319-38827-4_12","article-title":"Evaluation and improvement of fast algorithms for exact matching on genome sequences","volume":"Volume 9702","author":"Faro","year":"2016","journal-title":"International Conference on Algorithms for Computational Biology"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1221","DOI":"10.1002\/spe.4380211105","article-title":"Fast string searching","volume":"21","author":"Hume","year":"1991","journal-title":"Softw. Pract. Exp."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Navarro, G., and Raffinot, M. (2002). Flexible Pattern Matching in Strings: Practical Online Search Algorithms for Texts and Biological Sequences. Computer, 35.","DOI":"10.1017\/CBO9781316135228"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"69614","DOI":"10.1109\/ACCESS.2019.2914071","article-title":"Exact String Matching Algorithms: Survey, Issues, and Future Research Directions","volume":"7","author":"Hakak","year":"2019","journal-title":"IEEE Access"},{"key":"ref_12","first-page":"554","article-title":"Algorithms on strings, trees, and sequences: Computer science and computational biology","volume":"28","author":"Gusfield","year":"1997","journal-title":"Theory Pract."},{"key":"ref_13","unstructured":"Cormen, T.H., and Cormen, T.H. (2001). Introduction to Algorithms, MIT Press."},{"key":"ref_14","first-page":"2707","article-title":"Survey of Exact String Matching Algorithm for Detecting Patterns in Protein Sequence","volume":"10","author":"Jiji","year":"2017","journal-title":"Adv. Comput. Sci. Technol."},{"key":"ref_15","first-page":"2231","article-title":"String Matching Algorithms and their Applicability in various Applications","volume":"1","author":"Singla","year":"2012","journal-title":"Int. J. Soft Comput. Eng."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Myatt, G.J., and Johnson, W.P. (2014). Making Sense of Data I a Practical Guide to Exploratory Data Analysis and Data Mining, John Wiley & Sons, Inc.. [2nd ed.].","DOI":"10.1002\/9781118422007"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"54","DOI":"10.4103\/0976-500X.77120","article-title":"Frequency distribution","volume":"2","author":"Manikandan","year":"2011","journal-title":"J. Pharmacol. Pharmacother."},{"key":"ref_18","first-page":"43","article-title":"Organizational research: Determining appropriate sample size in survey research","volume":"19","author":"Bartlett","year":"2001","journal-title":"Inf. Technol. Learn. Perform. J."},{"key":"ref_19","first-page":"237","article-title":"Determining Sample Size; How to Calculate Survey Sample Size","volume":"2","author":"Taherdoost","year":"2017","journal-title":"Int. J. Econ. Manag. Syst."},{"key":"ref_20","unstructured":"Israel, G.D. (1992). Determining Sample Size, University of Florida."},{"key":"ref_21","unstructured":"Mohammed, R. (2010). Information Analysis of DNA Sequences. arXiv, 1\u201322."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"369","DOI":"10.1006\/jtbi.1997.0493","article-title":"Estimating the entropy of DNA sequences","volume":"188","author":"Schmitt","year":"1997","journal-title":"J. Theor. Biol."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"635","DOI":"10.1016\/0960-0779(92)90058-U","article-title":"Word frequency and entropy of symbolic sequences: A dynamical perspective","volume":"2","author":"Ebeling","year":"1992","journal-title":"Chaos Solitons Fractals"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"5061","DOI":"10.1103\/PhysRevE.50.5061","article-title":"Entropies of biosequences: The role of repeats","volume":"50","author":"Herzel","year":"1994","journal-title":"Phys. Rev. E"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1103\/PhysRevE.79.046208","article-title":"Entropy estimation of very short symbolic sequences","volume":"79","author":"Lesne","year":"2009","journal-title":"Phys. Rev. E"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"249","DOI":"10.1016\/0950-7051(95)98902-I","article-title":"Use of maximum entropy method as a methodology for probabilistic reasoning","volume":"8","author":"Rhodes","year":"1995","journal-title":"Knowl. Based Syst."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"379","DOI":"10.1002\/j.1538-7305.1948.tb01338.x","article-title":"A Mathematical Theory of Communication","volume":"27","author":"Shannon","year":"1948","journal-title":"Bell Syst. Tech. J."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Muchnik, A., and Vereshchagin, N. (2006). Shannon entropy vs. kolmogorov complexity. International Computer Science Symposium in Russia, Springer.","DOI":"10.1007\/11753728_29"},{"key":"ref_29","unstructured":"Grunwald, P., and Vitanyi, P. (2020, May 04). Shannon Information and Kolmogorov Complexity. Available online: https:\/\/arxiv.org\/pdf\/cs\/0410002.pdf."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"595","DOI":"10.3390\/e13030595","article-title":"Entropy Measures vs. Kolmogorov Complexity","volume":"13","author":"Teixeira","year":"2011","journal-title":"Entropy"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Goul\u00e3o, M., and Brito e Abreu, F. (2005). Formal definition of metrics upon the CORBA component model. Quality of Software Architectures and Software Quality, Springer.","DOI":"10.1007\/11558569_8"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"52","DOI":"10.1016\/j.csi.2015.12.005","article-title":"Measuring the quality of diff algorithms: A formalization","volume":"46","author":"Barabucci","year":"2016","journal-title":"Comput. Stand. Interfaces"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"167","DOI":"10.18178\/ijmlc.2016.6.3.593","article-title":"Measuring Performance of Optimization Algorithms in Evolutionary Computation","volume":"6","author":"Ivkovic","year":"2016","journal-title":"Int. J. Mach. Learn. Comput."},{"key":"ref_34","unstructured":"Aho, A.V., Hopcroft, J.E., and Ullman, J.D. (1974). The Design and Analysis of Computer Algorithms, Addison-Wesley Pub. Co."},{"key":"ref_35","unstructured":"Hromkovi\u010d, J. (2004). Theoretical Computer Science: Introduction to Automata, Computability, Complexity, Algorithmics, Randomization, Communication, and Cryptography, Springer."},{"key":"ref_36","first-page":"537","article-title":"Comparative Study on Text Pattern Matching for Heterogeneous System","volume":"3","author":"Jain","year":"2012","journal-title":"Int. J. Comput. Sci. Eng. Technol."},{"key":"ref_37","first-page":"1","article-title":"A comparative study on string matching algorithms of biological sequences","volume":"2014","author":"Pandiselvam","year":"2014","journal-title":"Int. Conf. Intell. Comput."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"13","DOI":"10.1145\/2431211.2431212","article-title":"The Exact Online String Matching Problem: A Review of the Most Recent Results","volume":"45","author":"Faro","year":"2013","journal-title":"Acm Comput. Surv."},{"key":"ref_39","unstructured":"Lecroq, T., and Charras, C. (2001). Handbook od Exact String Matching, Laboratoire d\u2019Informatique de Rouen Universit\u00e9 de Rouen."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Cover, T.M., and Thomas, J.A. (2005). Elements of Information Theory, John Wiley and Sons.","DOI":"10.1002\/047174882X"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Kucak, D., Djambic, G., and Fulanovic, B. (2012, January 24\u201327). An empirical study of algorithms performance in implementations of set in Java. Proceedings of the 23rd DAAAM International Symposium on Intelligent Manufacturing and Automation 2012, Zadar, Croatia.","DOI":"10.2507\/23rd.daaam.proceedings.133"},{"key":"ref_42","first-page":"2637","article-title":"String Matching Algoritms (SMAs): Survey & Empirical Analysis","volume":"2","author":"Alhendawi","year":"2013","journal-title":"J. Comput. Sci. Manag."},{"key":"ref_43","unstructured":"(2020, December 21). The Canterbury Corpus. Available online: http:\/\/corpus.canterbury.ac.nz\/."},{"key":"ref_44","unstructured":"Compeau, P., and Pevzner, P. (2015). Bioinformatics Algorithms: An Active Learning Approach, Active Learning Publishers."},{"key":"ref_45","first-page":"36","article-title":"Pattern Searching in Genome","volume":"10","year":"2018","journal-title":"Int. J. Adv. Comput. Technol."},{"key":"ref_46","unstructured":"Anabarilius grahami isolate AG-KIZ scaffold371_cov124, whole genome sh\u2014Nucleotide\u2014NCBI."},{"key":"ref_47","unstructured":"Chelonia mydas unplaced genomic scaffold, CheMyd_1.0 scaffold1, whole\u2014Nucleotide\u2014NCBI."},{"key":"ref_48","unstructured":"Escherichia coli strain LM33 isolate patient, whole genome shotgun seq\u2014Nucleotide\u2014NCBI."},{"key":"ref_49","unstructured":"Macaca mulatta isolate AG07107 chromosome 19 genomic scaffold ScNM3vo_\u2014Nucleotide\u2014NCBI."},{"key":"ref_50","unstructured":"(2020, February 13). The Canterbury Corpus\u2014The King James Version of the Bible. Available online: https:\/\/corpus.canterbury.ac.nz\/descriptions\/."},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"762","DOI":"10.1145\/359842.359859","article-title":"A fast string searching algorithm","volume":"20","author":"Boyer","year":"1977","journal-title":"Commun. ACM"},{"key":"ref_52","doi-asserted-by":"crossref","first-page":"323","DOI":"10.1137\/0206024","article-title":"Fast Pattern Matching in Strings","volume":"6","author":"Knuth","year":"1977","journal-title":"SIAM J. Comput."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1016\/0890-5401(91)90016-U","article-title":"Optimal canonization of all substrings of a string","volume":"95","author":"Apostolico","year":"1991","journal-title":"Inf. Comput."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"132","DOI":"10.1145\/79173.79184","article-title":"A very fast substring search algorithm","volume":"33","author":"Sunday","year":"1990","journal-title":"Commun. ACM"},{"key":"ref_55","doi-asserted-by":"crossref","first-page":"501","DOI":"10.1002\/spe.4380100608","article-title":"Practical fast searching in strings","volume":"10","author":"Horspool","year":"1980","journal-title":"Softw. Pract. Exp."},{"key":"ref_56","doi-asserted-by":"crossref","unstructured":"Hakak, S., Kamsin, A., Shivakumara, P., Idris, M.Y.I., and Gilkar, G.A. (2018). A new split based searching for exact pattern matching for natural texts. PLoS ONE, 13.","DOI":"10.1371\/journal.pone.0200912"},{"key":"ref_57","unstructured":"Powers, D.M.W. (2007). Evaluation: From Precision, Recall and F-Factor to ROC, Informedness, Markedness & Correlation. Hum. Commun. Sci. SummerFest, 24, Available online: https:\/\/csem.flinders.edu.au\/research\/techreps\/SIE07001.pdf."},{"key":"ref_58","unstructured":"(2019, August 15). National Center for Biotechnology Information, Available online: https:\/\/www.ncbi.nlm.nih.gov\/."},{"key":"ref_59","unstructured":"Wheelan, C. (2013). Naked Statistics: Stripping the Dread from the Data, WW Norton & Co."},{"key":"ref_60","unstructured":"Barrett, P. (2020, September 16). Euclidean Distance Raw, Normalized, and Double-Scaled Coefficients. Available online: https:\/\/www.pbarrett.net\/techpapers\/euclid.pdf."},{"key":"ref_61","unstructured":"Anton, H. (2019). Elementary Linear Algebra, Wiley. [11th ed.]."},{"key":"ref_62","doi-asserted-by":"crossref","first-page":"59","DOI":"10.2307\/2685263","article-title":"Thirteen Ways to Look at the Correlation Coefficient","volume":"42","author":"Rodgers","year":"1988","journal-title":"Am. Stat."},{"key":"ref_63","unstructured":"(2020, November 03). Raw Data for Entropy Based Approach in Selection Exact String Matching Algorithms. Available online: https:\/\/www.dropbox.com\/t\/kXKUZeIIVpw3hU5O."}],"container-title":["Entropy"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/1\/31\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T10:46:58Z","timestamp":1760179618000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1099-4300\/23\/1\/31"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,12,28]]},"references-count":63,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2021,1]]}},"alternative-id":["e23010031"],"URL":"https:\/\/doi.org\/10.3390\/e23010031","relation":{},"ISSN":["1099-4300"],"issn-type":[{"value":"1099-4300","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,12,28]]}}}