HOME

TheInfoList



OR:

In computer science, parameterized complexity is a branch of
computational complexity theory In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and relating these classes to each other. A computational problem is a task solved ...
that focuses on classifying
computational problems In theoretical computer science, a computational problem is a problem that may be solved by an algorithm. For example, the problem of factoring :"Given a positive integer ''n'', find a nontrivial prime factor of ''n''." is a computational probl ...
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 Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
of those parameters. This allows the classification of NP-hard problems on a finer scale than in the classical setting, where the complexity of a problem is only measured as a function of the number of bits in the input. The first systematic work on parameterized complexity was done by . Under the assumption that P ≠ NP, there exist many natural problems that require superpolynomial
running time In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by t ...
when complexity is measured in terms of the input size only, but that are computable in a time that is polynomial in the input size and exponential or worse in a parameter . Hence, if is fixed at a small value and the growth of the function over is relatively small then such problems can still be considered "tractable" despite their traditional classification as "intractable". 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 Exponential may refer to any of several mathematical topics related to exponentiation, including: *Exponential function, also: **Matrix exponential, the matrix analogue to the above *Exponential decay, decrease at a rate proportional to value *Expo ...
(or at least superpolynomial) in the total size of the input. However, some problems can be solved by algorithms that are exponential only in the size of a fixed parameter while polynomial in the size of the input. Such an algorithm is called a
fixed-parameter tractable 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. T ...
(fpt-)algorithm, because the problem can be solved efficiently for small values of the fixed parameter. Problems in which some parameter is fixed are called parameterized problems. A parameterized problem that allows for such an fpt-algorithm is said to be a fixed-parameter tractable problem and belongs to the class , and the early name of the theory of parameterized complexity was fixed-parameter tractability. Many problems have the following form: given an object and a nonnegative integer , does have some property that depends on ? For instance, for the vertex cover problem, the parameter can be the number of vertices in the cover. In many applications, for example when modelling error correction, one can assume the parameter to be "small" compared to the total input size. Then it is challenging to find an algorithm which is exponential ''only'' in , and not in the input size. In this way, parameterized complexity can be seen as ''two-dimensional'' complexity theory. This concept is formalized as follows: :A ''parameterized problem'' is a language L \subseteq \Sigma^* \times \N, where \Sigma is a finite alphabet. The second component is called the ''parameter'' of the problem. :A parameterized problem is ''fixed-parameter tractable'' if the question "(x, k) \in L?" can be decided in running time f(k) \cdot , x, ^, where is an arbitrary function depending only on . The corresponding complexity class is called FPT. For example, there is an algorithm which solves the vertex cover problem in O(kn + 1.274^k) time, where is the number of vertices and is the size of the vertex cover. This means that vertex cover is fixed-parameter tractable with the size of the solution as the parameter.


Complexity classes


FPT

FPT contains the ''fixed parameter tractable'' problems, which are those that can be solved in time f(k) \cdot ^ for some computable function . Typically, this function is thought of as single exponential, such as 2^ but the definition admits functions that grow even faster. This is essential for a large part of the early history of this class. The crucial part of the definition is to exclude functions of the form f(n,k), such as n^k. The class FPL (fixed parameter linear) is the class of problems solvable in time f(k) \cdot , x, for some computable function . FPL is thus a subclass of FPT. An example is the
satisfiability In mathematical logic, a formula is ''satisfiable'' if it is true under some assignment of values to its variables. For example, the formula x+3=y is satisfiable because it is true when x=3 and y=6, while the formula x+1=x is not satisfiable over ...
problem, parameterised by the number of variables. A given formula of size with variables can be checked by brute force in time O(2^km). A vertex cover of size in a graph of order can be found in time O(2^kn), so this problem is also in FPT. 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 -colouring in time f(k)n^ for k=3 would run in polynomial time in the size of the input. Thus, if graph coloring parameterised by the number of colors were in FPT, then P = NP. There are a number of alternative definitions of FPT. For example, the running time requirement can be replaced by f(k) + , x, ^. Also, a parameterised problem is in FPT if it has a so-called kernel. Kernelization is a preprocessing technique that reduces the original instance to its "hard kernel", a possibly much smaller instance that is equivalent to the original instance but has a size that is bounded by a function in the parameter. FPT is closed under a parameterised notion of
reductions Reductions ( es, reducciones, also called ; , pl. ) were settlements created by Spanish rulers and Roman Catholic missionaries in Spanish America and the Spanish East Indies (the Philippines). In Portuguese-speaking Latin America, such re ...
called ''fpt-reductions''. Such reductions transform an instance (x,k) of some problem into an equivalent instance (x',k') of another problem (with k' \leq g(k)) and can be computed in time f(k)\cdot p(, x, ) where p is a polynomial. Obviously, FPT contains all polynomial-time computable problems. Moreover, it contains all optimisation problems in NP that allow an efficient polynomial-time approximation scheme (EPTAS).


''W'' hierarchy

The ''W'' hierarchy is a collection of computational complexity classes. A parameterized problem is in the class ''W'' 'i'' if every instance (x, k) can be transformed (in fpt-time) to a combinatorial circuit that has weft at most ''i'', such that (x, k)\in L if and only if there is a satisfying assignment to the inputs that assigns ''1'' to exactly ''k'' inputs. The weft is the largest number of logical units with fan-in greater than two on any path from an input to the output. The total number of logical units on the paths (known as depth) must be limited by a constant that holds for all instances of the problem. Note that \mathsf = W /math> and W \subseteq W /math> for all i\le j. The classes in the ''W'' hierarchy are also closed under fpt-reduction. Many natural computational problems occupy the lower levels, ''W'' and ''W''


''W''

Examples of ''W'' complete problems include * deciding if a given graph contains a
clique A clique ( AusE, CanE, or ), in the social sciences, is a group of individuals who interact with one another and share similar interests. Interacting with cliques is part of normative social development regardless of gender, ethnicity, or popula ...
of size ''k'' * deciding if a given graph contains an 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 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''O(''k'') computation paths.


''W''

Examples of ''W'' complete problems include * deciding if a given graph contains a
dominating set In graph theory, a dominating set for a graph is a subset of its vertices, such that any vertex of is either in , or has a neighbor in . The domination number is the number of vertices in a smallest dominating set for . The dominating set ...
of size ''k'' * deciding if a given nondeterministic 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 variant), as is the number of tapes. An alternate ''W'' complete formulation allows only single-tape Turing machines, but the alphabet size may depend on ''n''.


''W'' 't''

W /math> can be defined using the family of Weighted Weft--Depth- SAT problems for d\geq t: W ,d/math> is the class of parameterized problems that fpt-reduce to this problem, and W = \bigcup_ W ,d/math>. Here, Weighted Weft--Depth- SAT is the following problem: * Input: A Boolean formula of depth at most and weft at most , and a number . The ''depth'' is the maximal number of gates on any path from the root to a leaf, and the ''weft'' is the maximal number of gates ''of fan-in at least three'' on any path from the root to a leaf. * Question: Does the formula have a satisfying assignment of Hamming weight exactly ? It can be shown that for t\geq2 the problem Weighted -Normalize SAT is complete for W /math> under fpt-reductions. Here, Weighted -Normalize SAT is the following problem: * Input: A Boolean formula of depth at most with an AND-gate on top, and a number . * Question: Does the formula have a satisfying assignment of Hamming weight exactly ?


''W'' 'P''

''W'' 'P''is the class of problems that can be decided by a nondeterministic h(k) \cdot ^-time TuO(f(k)\cdot \log n) nondeterministic choices in the computation on (x,k) (a ''k''-restricted Turing machine). It is known that FPT is contained in W and the inclusion is believed to be strict. However, resolving this issue would imply a solution to the
P versus NP The P versus NP problem is a major unsolved problem in theoretical computer science. In informal terms, it asks whether every problem whose solution can be quickly verified can also be quickly solved. The informal term ''quickly'', used abov ...
problem. Other connections to unparameterised computational complexity are that FPT equals ''W'' 'P''if and only if
circuit satisfiability In theoretical computer science, the circuit satisfiability problem (also known as CIRCUIT-SAT, CircuitSAT, CSAT, etc.) is the decision problem of determining whether a given Boolean circuit has an assignment of its inputs that makes the output tr ...
can be decided in time \exp(o(n))m^, or if and only if there is a computable, nondecreasing, unbounded function f such that all languages recognised by a nondeterministic polynomial-time Turing machine using nondeterministic choices are in ''P''. ''W'' 'P''can be loosely thought of as the class of problems where we have a set of items, and we want to find a subset T \subset S of size such that a certain property holds. We can encode a choice as a list of integers, stored in binary. Since the highest any of these numbers can be is , \lceil\log_2 n\rceil bits are needed for each number. Therefore k \cdot \lceil\log_2 n\rceil total bits are needed to encode a choice. Therefore we can select a subset T\subset S with O(k\cdot \log n) nondeterministic choices.


XP

XP is the class of parameterized problems that can be solved in time n^ for some computable function . These problems are called slicewise polynomial, in the sense that each "slice" of fixed k has a polynomial algorithm, although possibly with a different exponent for each k. Compare this with FPT, which merely allows a different constant prefactor for each value of k. XP contains FPT, and it is known that this containment is strict by diagonalization.


para-NP

para-NP is the class of parameterized problems that can be solved by a
nondeterministic algorithm In computer programming, a nondeterministic algorithm is an algorithm that, even for the same input, can exhibit different behaviors on different runs, as opposed to a deterministic algorithm. There are several ways an algorithm may behave diff ...
in time f(k) \cdot , x, ^ for some computable function . It is known that \textsf=\textsf if and only if \textsf=\textsf. A problem is para-NP-hard if it is \textsf-hard already for a constant value of the parameter. That is, there is a "slice" of fixed that is \textsf-hard. A parameterized problem that is \textsf-hard cannot belong to the class \textsf, unless \textsf=\textsf. A classic example of a \textsf-hard parameterized problem is graph coloring, parameterized by the number of colors, which is already \textsf-hard for k=3 (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 = W holds.


Notes


References

* * * * * * * {{cite book , first = Martin , last = Grohe , authorlink = Martin Grohe , chapter = Descriptive and Parameterized Complexity , title = Computer Science Logic , publisher = Springer Berlin Heidelberg , series = Lecture Notes in Computer Science , volume = 1683 , year = 1999 , pages = 14–31 , isbn = 978-3-540-66536-6 , doi = 10.1007/3-540-48168-0_3 , citeseerx = 10.1.1.25.9250 * The Computer Journal. Volume 51, Numbers 1 and 3 (2008)
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


Wiki on parameterized complexity

Compendium of Parameterized Problems
Computational complexity theory