Content deleted Content added
natural parameter |
|||
(67 intermediate revisions by 55 users not shown) | |||
Line 1:
{{Short description|Branch of computational complexity theory}}
In [[computer science]], '''parameterized complexity''' is a branch of [[computational complexity theory]] that focuses on classifying [[computational problems]] according to their inherent difficulty with respect to ''multiple'' parameters of the input or output. The complexity of a problem is then measured as a [[Function (mathematics)|function]]
Under the assumption that [[P versus NP problem|P ≠ NP]], there exist many natural problems that require
The existence of efficient, exact, and deterministic solving algorithms for [[NP-complete]], or otherwise [[NP-hard]], problems is considered unlikely, if input parameters are not fixed; all known solving algorithms for these problems require time that is [[Exponential time|exponential]] (
Problems in which some parameter
Many problems have the following form: given an object
In this way, parameterized complexity can be seen as ''two-dimensional'' complexity theory. This concept is formalized as follows:
Line 14:
:A ''parameterized problem'' is a language <math>L \subseteq \Sigma^* \times \N</math>, where <math>\Sigma</math> is a finite alphabet. The second component is called the ''parameter'' of the problem.
:A parameterized problem
:A parameterized problem uses the ''natural parameter'' when its parameter is the size of the solution to the problem.
For example, there is an algorithm == Complexity classes ==
=== FPT ===
FPT contains the ''fixed parameter tractable'' problems, which are those that can be solved in time <math>f(k) \cdot {|x|}^{O(1)}</math> for some computable function
The class '''FPL''' (fixed parameter linear) is the class of problems solvable in time <math>f(k) \cdot |x|</math> for some computable function {{mvar|f}}.<ref>{{harvtxt|Grohe|1999}}</ref> FPL is thus a subclass of FPT. An example is the [[Boolean satisfiability]] problem, parameterised by the number of variables. A given formula of size
An example of a problem that is thought not to be in FPT is [[graph coloring]] parameterised by the number of colors. It is known that 3-coloring is [[NP-hard]], and an algorithm for graph
There are a number of alternative definitions of FPT. For example, the running
FPT is closed under a parameterised notion of [[Reduction (complexity)|
Obviously, FPT contains all polynomial-time computable problems. Moreover, it contains all optimisation problems in NP that allow
=== ''W'' hierarchy ===
The '''''W'' hierarchy''' is a collection of computational complexity classes. A
Note that <math>\mathsf{FPT
A complete problem for ''W''[''i''] is '''Weighted ''i''-Normalized Satisfiability''':<ref>{{cite journal |last1=Downey |first1=Rod G. |last2=Fellows |first2=Michael R. |title=Fixed-Parameter Tractability and Completeness I: Basic Results |journal=SIAM Journal on Computing |date=August 1995 |volume=24 |issue=4 |pages=873–921 |doi=10.1137/S0097539792228228 |url=https://doi.org/10.1137/S0097539792228228 |language=en |issn=0097-5397|url-access=subscription }}</ref> given a Boolean formula written as an AND of ORs of ANDs of ... of possibly negated variables, with <math>i+1</math> layers of ANDs or ORs (and ''i'' alternations between AND and OR), can it be satisfied by setting exactly ''k'' variables to 1?
▲Note that FPT = ''W''[0] and W[''i''] <math>\subseteq</math> ''W''[''j''] for all <math>i\le j</math>. The classes in the ''W'' hierarchy are also closed under fpt-reduction.
Many natural computational problems occupy the lower levels, ''W''[1] and ''W''[2].
==== ''W''[1] ====
{{Redirect|W(1)|the mathematical constant|omega constant}}
Examples of ''W''[1]-complete problems include
* deciding if a given graph contains a [[Clique (graph theory)|clique]] of size ''k''
* deciding if a given graph contains an [[Independent set (graph theory)|independent set]] of size ''k''
* deciding if a given nondeterministic single-tape Turing machine accepts within ''k'' steps ("short Turing machine acceptance" problem). This also applies to nondeterministic [[Turing machine|Turing machines]] with ''f''(''k'') tapes and even ''f''(''k'') of ''f''(''k'')-dimensional tapes, but even with this extension, the restriction to ''f''(''k'') tape alphabet size is fixed-parameter tractable. Crucially, the branching of the Turing machine at each step is allowed to depend on ''n'', the size of the input. In this way, the Turing machine may explore ''n''<sup>O(''k'')</sup> computation paths.
==== ''W''[2] ====
Examples of ''W''[2]-complete problems include
* deciding if a given graph contains a [[dominating set]] of size ''k''
* deciding if a given nondeterministic [[Turing machine equivalents#Multi-tape Turing machines|multi-tape Turing machine]] accepts within ''k'' steps ("short multi-tape Turing machine acceptance" problem). Crucially, the branching is allowed to depend on ''n'' (like the W[1] variant), as is the number of tapes. An alternate ''W''[2]-complete formulation allows only single-tape Turing machines, but the alphabet size may depend on ''n''.
==== ''W''[''t''] ====
<math>W[t]</math> can be defined using the family of Weighted Weft-
<math>W[t,d]</math> is the class of parameterized problems that fpt-reduce to this problem, and <math>W[t] = \bigcup_{d\geq t} W[t,d]</math>.
Here, '''Weighted Weft-
* Input: A Boolean formula of depth at most
* Question: Does the formula have a satisfying assignment of [[Hamming weight]]
It can be shown that
Here, '''Weighted
* Input: A Boolean formula of depth at most
* Question: Does the formula have a satisfying assignment of Hamming weight
==== ''W''[''P''] ====
''W''[''P''] is the class of problems that can be decided by a nondeterministic
It is known that FPT is contained in W[P], and the inclusion is believed to be strict. However, resolving this issue would imply a solution to the [[P versus NP]] problem.
Other connections to unparameterised computational complexity are that
''W''[''P''] can be loosely thought of as the class of problems where we have a set {{mvar|S}} of {{mvar|n}} items, and we want to find a subset <math>T \subset S</math> of size {{mvar|k}} such that a certain property holds. We can encode a choice as a list of {{mvar|k}} integers, stored in binary. Since the highest any of these numbers can be is {{mvar|n}}, <math>\lceil\log_2 n\rceil</math> bits are needed for each number. Therefore <math>k \cdot \lceil\log_2 n\rceil </math> total bits are needed to encode a choice. Therefore we can select a subset <math>T\subset S</math> with <math>O(k\cdot \log n)</math> nondeterministic choices.
=== XP ===
'''XP''' is the class of parameterized problems that can be solved in time <math>n^{f(k)}</math> for some computable function
=== para-NP ===
'''para-NP''' is the class of parameterized problems that can be solved by a [[nondeterministic algorithm]] in time <math>f(k) \cdot |x|^{O(1)}</math> for some computable function {{mvar|f}}. It is known that <math>\textsf{FPT}=\textsf{para-NP}</math> if and only if <math>\textsf{P}=\textsf{NP}</math>.{{sfnp|Flum|Grohe|2006|page=39}}
A problem is '''para-NP-hard''' if it is <math>\textsf{NP}</math>-hard already for a constant value of the parameter. That is, there is a "slice" of fixed {{mvar|k}} that is <math>\textsf{NP}</math>-hard. A parameterized problem that is <math>\textsf{para-NP}</math>-hard cannot belong to the class <math>\textsf{XP}</math>, unless <math>\textsf{P}=\textsf{NP}</math>. A classic example of a <math>\textsf{para-NP}</math>-hard parameterized problem is [[graph coloring]], parameterized by the number {{mvar|k}} of colors, which is already <math>\textsf{NP}</math>-hard for <math>k=3</math> (see [[Graph coloring#Computational complexity]]).
=== A hierarchy ===
The '''A hierarchy''' is a collection of computational complexity classes similar to the W hierarchy. However, while the W hierarchy is a hierarchy contained in NP, the A hierarchy more closely mimics the [[polynomial-time hierarchy]] from classical complexity. It is known that A[1] = W[1] holds.
== See also ==
* [[Parameterized approximation algorithm]], for [[Optimization problem|optimization problems]] an algorithm running in FPT time might [[Approximation algorithm|approximate]] the solution.
== Notes ==
Line 82 ⟶ 99:
== References ==
* {{cite
|first1 = Jianer
|last1 = Chen
Line 90 ⟶ 107:
|last3 = Xia
|title = Improved Parameterized Upper Bounds for Vertex Cover
|conference = Mathematical Foundations of Computer Science
|publisher = Springer
|publication-place = Berlin, Heidelberg
|volume = 4162▼
|pages = 238–249
|year = 2006
|doi = 10.1007/11821069_21
|
|citeseerx = 10.1.1.432.831
▲|volume = 4162
}}
*{{cite book
Line 113 ⟶ 133:
}}
* {{cite book
|
|
|authorlink = Rod Downey
|last2 = Fellows
Line 122 ⟶ 142:
|publisher = Springer
|year = 1999
|url =
|isbn = 978-0-387-94883-
}}
* {{cite book
|
|
|authorlink = Jörg Flum
|last2 = Grohe
Line 136 ⟶ 155:
|year = 2006
|publisher = Springer
|url =
|isbn = 978-3-540-29952-3
}}
*{{cite book
|last1=Fomin|first1=Fedor V.
|last2=Lokshtanov|first2=Daniel
|last3=Saurabh|first3=Saket
|last4=Zehavi|first4=Meirav
|year=2019
|title=Kernelization: Theory of Parameterized Preprocessing
|publisher=Cambridge University Press
|isbn=978-1107057760
|doi=10.1017/9781107415157
|page=528|s2cid=263888582
}}
*{{cite book
|last1=Gurevich|first1=Yuri
|last2=Stockmeyer|first2=Larry
|last3=Vishkin|first3=Uzi
|year=1984
|title=Solving NP-hard problems on graphs that are almost trees and an application to facility ___location problems
|publisher=Journal of the ACM
|page=459-473}}
* {{cite book
|first = Rolf
|last = Niedermeier
|authorlink = Rolf Niedermeier
|title = Invitation to Fixed-Parameter Algorithms
|publisher = Oxford University Press
|year = 2006
|url = http://www.oup.com/uk/catalogue/?ci=9780198566076
|isbn = 978-0-19-856607-
|
|archive-url = https://web.archive.org/web/20080924051521/http://www.oup.com/uk/catalogue/?ci=9780198566076
|archive-date = 2008-09-24
}}
* {{cite book
Line 161 ⟶ 201:
|volume = 1683
|year = 1999
|pages =
|isbn = 978-3-540-66536-6
|
|citeseerx = 10.1.1.25.9250
}}
* [[The Computer Journal]]. Volume 51, Numbers 1 and 3 (2008). [https://web.archive.org/web/20051125014940/http://comjnl.oxfordjournals.org/ The Computer Journal]. Special Double Issue on Parameterized Complexity with 15 survey articles, book review, and a Foreword by Guest Editors R. Downey, M. Fellows and M. Langston.
== External links ==
Line 172 ⟶ 212:
* [http://www.sprg.uniroma2.it/home/cesati/research/compendium/ Compendium of Parameterized Problems]
[[Category:Computational complexity theory]]▼
[[Category:Parameterized complexity| ]]
▲[[Category:Computational complexity theory]]
|