首页> 外文期刊>Theory of computing systems >The Baire Partial Quasi-Metric Space: A Mathematical Tool for Asymptotic Complexity Analysis in Computer Science
【24h】

The Baire Partial Quasi-Metric Space: A Mathematical Tool for Asymptotic Complexity Analysis in Computer Science

机译:Baire部分拟度量空间:计算机科学中渐近复杂性分析的数学工具

获取原文
获取原文并翻译 | 示例
           

摘要

In 1994, S.G. Matthews introduced the notion of partial metric space in order to obtain a suitable mathematical tool for program verification (Ann. N.Y. Acad. Sci. 728:183-197, 1994). He gave an application of this new structure to parallel computing by means of a partial metric version of the celebrated Banach fixed point theorem (Theor. Comput. Sci, 151:195-205,1995). Later on, M.P. Schellekens introduced the theory of complexity (quasi-metric) spaces as a part of the development of a topological foundation for the asymptotic complexity analysis of programs and algorithms (Electron. Notes Theor. Comput. Sci. 1:211-232, 1995). The applicability of this theory to the asymptotic complexity analysis of Divide and Conquer algorithms was also illustrated by Schellekens. In particular, he gave a new proof, based on the use of the aforenamed Banach fixed point theorem, of the well-known fact that Mergesort algorithm has optimal asymptotic average running time of computing. In this paper, motivated by the utility of partial metrics in Computer Science, we discuss whether the Matthews fixed point theorem is a suitable tool to analyze the asymptotic complexity of algorithms in the spirit of Schellekens. Specifically, we show that a slight modification of the well-known Baire partial metric on the set of all words over an alphabet constitutes an appropriate tool to carry out the asymptotic complexity analysis of algorithms via fixed point methods without the need for assuming the convergence condition inherent to the definition of the complexity space in the Schellekens framework. Finally, in order to illustrate and to validate the developed theory we apply our results to analyze the asymptotic complexity of Quicksort, Mergesort and Largesort algorithms. Concretely we retrieve through our new approach the well-known facts that the running time of computing of Quicksort (worst case behaviour), Mergesort and Largesort (average case behaviour) are in the complexity classes O(n~2), O(n log_2(n)) and O(2(n - 1) - log_2(n)), respectively.
机译:1994年,S.G。Matthews引入了部分度量空间的概念,以便获得用于程序验证的合适数学工具(Ann。N.Y. Acad。Sci。728:183-197,1994)。他通过著名的Banach不动点定理的部分度量版本将这种新结构应用于并行计算(Theor。Comput。Sci,151:195-205,1995)。后来,M.P. Schellekens引入了复杂度(准度量)空间理论,作为对程序和算法进行渐进复杂性分析的拓扑基础的一部分(Electron。Notes Theor。Comput。Sci。1:211-232,1995)。 Schellekens还说明了该理论在Divide and Conquer算法的渐进复杂性分析中的适用性。特别是,他基于前述的Banach不动点定理,给出了一个新的证明,即Mergesort算法具有最优的渐近平均计算运行时间这一众所周知的事实。在本文中,受计算机科学中部分度量的效用的启发,我们讨论了以Schellekens精神为基础的Matthews不动点定理是否适合分析算法的渐近复杂性。具体来说,我们表明,对字母上所有单词的集合上的众所周知的Baire偏度量进行略微修改,就构成了一种适当的工具,可以通过定点方法进行算法的渐进复杂性分析,而无需假设收敛条件Schellekens框架中复杂性空间定义所固有的。最后,为了说明和验证已开发的理论,我们将我们的结果应用于分析Quicksort,Mergesort和Largesort算法的渐近复杂性。具体而言,我们通过新方法检索众所周知的事实,即Quicksort(最坏情况的行为),Mergesort和Largesort(平均情况的行为)的计算运行时间在复杂度级别O(n〜2),O(n log_2)中(n))和O(2(n-1)-log_2(n))。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号