首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:An Effective Approach to Analyze Algorithms with Linear O(n) Worst-Case Asymptotic Complexity
  • 本地全文:下载
  • 作者:Qazi Haseeb Yousaf ; Muhammad Arif Shah ; Rashid Naseem
  • 期刊名称:International Journal of Advanced Computer Science and Applications(IJACSA)
  • 印刷版ISSN:2158-107X
  • 电子版ISSN:2156-5570
  • 出版年度:2019
  • 卷号:10
  • 期号:3
  • 页码:337-342
  • DOI:10.14569/IJACSA.2019.0100344
  • 出版社:Science and Information Society (SAI)
  • 摘要:A theoretical approach of asymptote analyzes the algorithms for approximate time complexity. The worst-case asymptotic complexity classifies an algorithm to a certain class. The asymptotic complexity for algorithms returns the degree variable of the algorithmic function while ignores the lower terms. In perspective of programming, asymptote only considers the number of iterations in a loop ignoring inside and outside statements. However, every statement must have some execution time. This paper provides an effective approach to analyze the algorithms belonging to the same class of asymptotes. The theoretical analysis of algorithmic functions shows that the difference between theoretical outputs of two algorithmic functions depends upon the difference between their coefficient of ‘n’ and the constant term. The said difference marks the point for the behavioral change of algorithms. This theoretic analysis approach is applied to algorithms with linear asymptotic complexity. Two algorithms are considered having a different number of statements outside and inside the loop. The results positively indicated the effectiveness of the proposed approach as the tables and graphs validates the results of the derived formula.
  • 关键词:Asymptotic complexity; interval analysis; in-depth analysis; Big-Oh; crossover point
国家哲学社会科学文献中心版权所有