An empirical approach to algorithm analysis resulting in approximations to big theta time complexity
College
College of Computer Studies
Document Type
Article
Source Title
Journal of Software
Volume
12
Issue
12
Publication Date
12-2017
Abstract
Literature has shown that apriori or posteriori estimates are used in order to determine efficiency of algorithms. Apriori analysis determines the efficiency following algorithm’s logical structure, while posteriori analysis accomplishes this by using data from experiments. Apriori analysis has two main advantages over posteriori analysis: a.) it does not depend on other factors aside from the algorithm being analyzed; b.) it naturally produces measurements in terms of asymptotic notations. These advantages result in thorough and more generalizable analysis. However, apriori techniques are limited by how powerful the current methods of mathematical analysis are. This paper presents a posteriori method that outputs time complexity measured in Big Theta notation. The developed method uses a series of formulas and heuristics to extract an algorithm’s asymptotic behavior solely from its frequency count measurements. The method was tested on 30 Python programs involving arithmetic operations, iterative statements, and recursive functions to establish its accuracy and correctness in determining time complexity behavior. Results have shown that the developed method outputs precise approximations of time complexity that are expected from manual apriori calculations.
html
Recommended Citation
Guzman, J. S., & Limoanco, T. C. (2017). An empirical approach to algorithm analysis resulting in approximations to big theta time complexity. Journal of Software, 12 (12) Retrieved from https://animorepository.dlsu.edu.ph/faculty_research/14936
Disciplines
Computer Sciences
Keywords
Algorithms; A priori
Upload File
wf_no