Complexity theory — теория сложности.
The theory of classifying problems based on how difficult they are to solve. A problem is assigned to the -problem (polynomial-time) class if the number of steps needed to solve it is bounded by some power of the problem's size. A problem is assigned to the -problem (nondeterministic polynomial-time) class if if it is solvable in polynomial time by a nondeterministic Turing machine.
A problem is called intractable if it is not a -problem. The class of -problems is a subset of the class of -problems, but there also exist problems which are not .
The versus problem is the determination of whether all problems are actually -problems. If , then the solution of -problems requires (in the worst case) an exhaustive search while if they are, then asymptotically faster algorithms may exist. The answer is not currently known, but determination of the status of this question would have dramatic consequences for the potential speed with which many difficult and important problems could be solved.
A problem is said to be -hard if every problem from is reducible to in polynomial time. A problem which is both and -hard is called an -complete problem. Examples of -complete problems include the Hamiltonian cycle, traveling salesman problems, Hamiltonian path problem, subgraph isomorphism problem, clique problem, vertex cover problem, independent set problem, dominating set problem, graph coloring problem.
Thus, if some -complete problem is a -problem then and, vice versa, if some problem from -problem class is intractable then all -complete problems are also intractable.
- Евстигнеев В.А., Касьянов В.Н. Словарь по графам в информатике. — Новосибирск: Сибирское Научное Издательство, 2009.