Definition. Runtime [runtime]

  1. Complexity theory.

    1. The runtime of a Turing machine MM is f:f:{\mathbb{N}}\rightarrow{\mathbb{N}}: f(n)=max(xΣ*,|x|=n)f(n) = \max\left( {x \in \Sigma \ast ,|x| = n} \right). (the number of steps of MM on input nn until it halts) (assume MM is a decider for simplicity)
    2. The runtime of a nondeterministic Turing machine NTM\text{NTM} on input XX is max-length of any root-leaf path. For deciders – no infinite paths!