请输入您要查询的字词:

 

单词 complexity measure
释义
complexity measure

Computer
  • A means of measuring the resources used during a computation. A general definition is contained in Blum’s axioms. In the special case of Turing machines, during any Turing machine computation various resources will be used, e.g. space and time. These can be defined formally as follows.

    Given a Turing machine program M and an input string x, then Time(M,x) is defined as the number of steps in the computation of M on x before M halts. Time is undefined if M does not halt on x. The time complexity of M is defined to be the integer function TM where

    TM(n)=max(Time(M,x):|x|=n)
    for nonnegative integer n.

    Space(M,x) is similarly defined as the number of tape squares used by M on x, and the space complexity SM is defined by

    SM(n)=max(Space(M,x):|x|=n)
    However, in order to distinguish the space required for working as opposed to the space for the input string x, the machine is sometimes considered as having a read-only input tape, and Space(M,x) is defined as the number of squares used by M on x.

    The more general measures of complexity share many of the common properties of time and space (see Blum’s axioms).

    An algorithm for which the complexity measure TM(n) or SM(n) increases with n no more rapidly than a polynomial in n is said to be polynomially bounded; one in which it grows exponentially is said to be exponentially bounded.

    See also complexity classes.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/30 23:36:37