- Exponential time
In complexity theory, exponential time is the
computation time of a problem where the time to complete the computation, "m"("n"), is bounded by anexponential function of the problem size, "n". In other words, as the size of the problem increaseslinearly , the time to solve the problem increasesexponentially .Written mathematically, there exists "k" > 1 such that "m"("n") = Θ("k""n") and there exists "c" such that "m"("n") = O("c""n").
Computer scientists sometimes think of
polynomial time as "fast", and anything running in greater than polynomial time as "slow" (seeCobham's thesis ). By this definition, exponential time would therefore be considered slow. This notion provides a useful intuition, but is imprecise. In practice, the actualrunning time of anyalgorithm depends on the value of "n" and theconstant s (seebig O notation for details). For a given value of "n", a specific polynomial time algorithm may have greater running time than a specific exponential-time algorithm. However, for sufficiently-large values of "n", therunning time of theexponential algorithm will dominate.There are algorithms which run in time greater than
polynomial time ("super-polynomial time ") but less than exponential time ("sub-exponential time "). One example is the best-known algorithm forinteger factorization . These algorithms are also considered "slow".Many people erroneously refer to
quadratic time as exponential.Quadratic time refers to a special case of polynomial time where the highest exponent in the polynomial is 2, for example "n"2.Exponential time refers to placing thevariable in theexponent , for example 2"n". Problems solved in quadratic orpolynomial time may take a while to execute, but are "usually" still practical to solve (althoughquadratic time often takes too long for interactive applications). Problems requiring exponential time are considered impossible to solve except for small values (with the possible exception ofquantum computing ).ee also
*
Computational complexity theory
*Constant time
*Linear time
*Algorithm
*Big O notation
*Quantum computer s
*NP-complete
Wikimedia Foundation. 2010.