Difference between revisions of "Computational complexity theory"
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 3: | Line 3: | ||
A computational problem is understood to be a task that is in principle amenable to being solved by a [[computer]], which is equivalent to stating that the problem may be solved by mechanical application of mathematical steps, such as an [[algorithm]]. | A computational problem is understood to be a task that is in principle amenable to being solved by a [[computer]], which is equivalent to stating that the problem may be solved by mechanical application of mathematical steps, such as an [[algorithm]]. | ||
− | + | Measures of difficulty == | |
− | Closely related fields in theoretical computer science are analysis of algorithms and computability theory. A key distinction between analysis of algorithms and computational complexity theory is that the former is devoted to analyzing the amount of resources needed by a particular algorithm to solve a problem, whereas the latter asks a more general question about all possible algorithms that could be used to solve the same problem. More precisely, it tries to classify problems that can or cannot be solved with appropriately restricted resources. In turn, imposing restrictions on the available resources is what distinguishes computational complexity from computability theory: the latter theory asks what kind of problems can, in principle, be solved algorithmically. | + | A problem is regarded as inherently difficult if its solution requires significant resources, whatever the algorithm used. |
+ | |||
+ | The theory formalizes this intuition, by introducing mathematical models of computation to study these problems and quantifying the amount of resources needed to solve them, such as [[time]] and [[storage]]. | ||
+ | |||
+ | Other complexity measures are also used, such as: | ||
+ | |||
+ | * The amount of communication (used in [[communication complexity]]) | ||
+ | * The number of [[Logic gate|logic gates]] in a circuit (used in [[circuit complexity]]) | ||
+ | * The number of processors (used in [[parallel computing]]) | ||
+ | |||
+ | One of the roles of computational complexity theory is to determine the practical limits on what computers can and cannot do. | ||
+ | |||
+ | == Related fields == | ||
+ | |||
+ | Closely related fields in theoretical computer science are [[analysis of algorithms]] and [[computability theory]]. | ||
+ | |||
+ | A key distinction between analysis of algorithms and computational complexity theory is that the former is devoted to analyzing the amount of resources needed by a particular algorithm to solve a problem, whereas the latter asks a more general question about all possible algorithms that could be used to solve the same problem. | ||
+ | |||
+ | More precisely, it tries to classify problems that can or cannot be solved with appropriately restricted resources. | ||
+ | |||
+ | In turn, imposing restrictions on the available resources is what distinguishes computational complexity from computability theory: the latter theory asks what kind of problems can, in principle, be solved algorithmically. | ||
== See also == | == See also == | ||
* [[Algorithm]] | * [[Algorithm]] | ||
+ | * [[Analysis of algorithms]] | ||
* [[Complexity class]] | * [[Complexity class]] | ||
+ | * [[Computability theory]] | ||
* [[Computation]] | * [[Computation]] | ||
* [[Computer science]] | * [[Computer science]] | ||
* [[Decision problem]] | * [[Decision problem]] | ||
* [[Formal language]] | * [[Formal language]] | ||
+ | * [[Logic gate]] | ||
* [[Mathematics]] | * [[Mathematics]] | ||
* [[Theoretical computer science]] | * [[Theoretical computer science]] |
Revision as of 06:13, 16 February 2016
Computational complexity theory is a branch of the theory of computation in theoretical computer science and mathematics that focuses on classifying computational problems according to their inherent difficulty, and relating those complexity classes to each other.
A computational problem is understood to be a task that is in principle amenable to being solved by a computer, which is equivalent to stating that the problem may be solved by mechanical application of mathematical steps, such as an algorithm.
Measures of difficulty ==
A problem is regarded as inherently difficult if its solution requires significant resources, whatever the algorithm used.
The theory formalizes this intuition, by introducing mathematical models of computation to study these problems and quantifying the amount of resources needed to solve them, such as time and storage.
Other complexity measures are also used, such as:
- The amount of communication (used in communication complexity)
- The number of logic gates in a circuit (used in circuit complexity)
- The number of processors (used in parallel computing)
One of the roles of computational complexity theory is to determine the practical limits on what computers can and cannot do.
Related fields
Closely related fields in theoretical computer science are analysis of algorithms and computability theory.
A key distinction between analysis of algorithms and computational complexity theory is that the former is devoted to analyzing the amount of resources needed by a particular algorithm to solve a problem, whereas the latter asks a more general question about all possible algorithms that could be used to solve the same problem.
More precisely, it tries to classify problems that can or cannot be solved with appropriately restricted resources.
In turn, imposing restrictions on the available resources is what distinguishes computational complexity from computability theory: the latter theory asks what kind of problems can, in principle, be solved algorithmically.
See also
- Algorithm
- Analysis of algorithms
- Complexity class
- Computability theory
- Computation
- Computer science
- Decision problem
- Formal language
- Logic gate
- Mathematics
- Theoretical computer science
- Theory of computation
External links
- Computational complexity theory @ Wikipedia