词条 | Parameterized complexity |
释义 |
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 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 by the number of bits in the input. The first systematic work on parameterized complexity was done by {{harvtxt|Downey|Fellows|1999}}. Under the assumption that P ≠ NP, there exist many natural problems that require superpolynomial running time 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 {{mvar|k}}. Hence, if {{mvar|k}} is fixed at a small value and the growth of the function over {{mvar|k}} 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 (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 (fpt-)algorithm, because the problem can be solved efficiently for small values of the fixed parameter. Problems in which some parameter {{mvar|k}} 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 {{sans-serif|FPT}}, and the early name of the theory of parameterized complexity was fixed-parameter tractability. Many problems have the following form: given an object {{mvar|x}} and a nonnegative integer {{mvar|k}}, does {{mvar|x}} have some property that depends on {{mvar|k}}? 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 {{mvar|k}}, 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 , where is a finite alphabet. The second component is called the parameter of the problem. A parameterized problem {{mvar|L}} is fixed-parameter tractable if the question “?” can be decided in running time , where {{mvar|f}} is an arbitrary function depending only on {{mvar|k}}. The corresponding complexity class is called FPT. For example, there is an algorithm which solves the vertex cover problem in time, [1] where {{mvar|n}} is the number of vertices and {{mvar|k}} 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 classesFPTFPT contains the fixed parameter tractable problems, which are those that can be solved in time for some computable function {{mvar|f}}. Typically, this function is thought of as single exponential, such as 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 , such as . The class FPL (fixed parameter linear) is the class of problems solvable in time for some computable function {{mvar|f}} {{harvtxt|Grohe|1999}}. FPL is thus a subclass of FPT. An example is the satisfiability problem, parameterised by the number of variables. A given formula of size {{mvar|m}} with {{mvar|k}} variables can be checked by brute force in time . A vertex cover of size {{mvar|k}} in a graph of order {{mvar|n}} can be found in time , 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 {{mvar|k}}-colouring in time for 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 . 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 reduction called fpt-reduction, which simultaneously preserves the instance size and the parameter. Obviously, FPT contains all polynomial-time computable problems. Moreover, it contains all optimisation problems in NP that allow a fully polynomial-time approximation scheme. W hierarchyThe W hierarchy is a collection of computational complexity classes. A parameterized problem is in the class W[i], if every instance can be transformed (in fpt-time) to a combinatorial circuit that has weft at most i, such that if and only if there is a satisfying assignment to the inputs, which assigns 1 to at most k inputs. The weft is the largest number of logical units with unbounded fan-in 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 and for all . 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]Examples of W[1]-complete problems include
W[2]Examples of W[2]-complete problems include
W[t]can be defined using the family of Weighted Weft{mvar|t}Depth-{{mvar|d}} SAT problems for : is the class of parameterized problems that fpt-reduce to this problem, and . Here, Weighted Weft{mvar|t}Depth
Here, Weighted {{mvar|t}}-Normalize SAT is the following problem:
W[P]W[P] is the class of problems that can be decided by a nondeterministic -time Turing-machine that makes at most nondeterministic choices in the computation on (a k-restricted Turing-machine). {{harvtxt|Flum|Grohe|2006}} 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 FPT equals W[P] if and only if circuit satisfiability can be decided in time , 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 f(n)log n 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 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 , bits are needed for each number. Therefore total bits are needed to encode a choice. Therefore we can select a subset with nondeterministic choices. XPXP is the class of parameterized problems that can be solved in time for some computable function {{mvar|f}}. {{Expand section|date=April 2011}}A hierarchyThe 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. Notes1. ^{{harvnb|Chen|Kanj|Xia|2006}} 2. ^{{cite journal |author=Buss, Jonathan F, Islam, Tarique |title=Simplifying the weft hierarchy |journal=Theoretical Computer Science |year=2006 |volume=351 |number=3 |pages=303–313 |doi=10.1016/j.tcs.2005.10.002}} References
|first1 = Jianer |last1 = Chen |first2 = Iyad A. |last2 = Kanj |first3 = Ge |last3 = Xia |title = Improved Parameterized Upper Bounds for Vertex Cover |journal = Mfcs 2006 |pages = 238–249 |year = 2006 |doi = 10.1007/11821069_21 |ref = harv |volume = 4162 |series = Lecture Notes in Computer Science |isbn = 978-3-540-37791-7 |citeseerx = 10.1.1.432.831 }}
|last1=Cygan|first1=Marek |last2=Fomin|first2=Fedor V. |last3=Kowalik|first3=Lukasz |last4=Lokshtanov|first4=Daniel |last5=Marx|first5=Daniel |last6=Pilipczuk|first6=Marcin |last7=Pilipczuk|first7=Michal |last8=Saurabh|first8=Saket |year=2015 |title=Parameterized Algorithms |publisher=Springer |isbn=978-3-319-21274-6 |page=555 }}
|last = Downey |first = Rod G. |authorlink = Rod Downey |last2 = Fellows |first2 = Michael R. |authorlink2 = Michael Fellows |title = Parameterized Complexity |publisher = Springer |year = 1999 |url = https://www.springer.com/sgw/cda/frontpage/0,11855,5-0-22-1519914-0,00.html?referer=www.springer.de%2Fcgi-bin%2Fsearch_book.pl%3Fisbn%3D0-387-94883-X |isbn = 978-0-387-94883-6 |ref = harv }}
|last = Flum |first = Jörg |authorlink = Jörg Flum |last2 = Grohe |first2 = Martin |authorlink2 = Martin Grohe |title = Parameterized Complexity Theory |year = 2006 |publisher = Springer |url = https://www.springer.com/east/home/generic/search/results?SGWID=5-40109-22-141358322-0 |isbn = 978-3-540-29952-3 |ref = harv }}
|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=1107057760 |doi=10.1017/9781107415157 |page=528}}
|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-6 |ref = harv |deadurl = yes |archiveurl = https://web.archive.org/web/20080924051521/http://www.oup.com/uk/catalogue/?ci=9780198566076 |archivedate = 2008-09-24 |df = }}
|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 |ref = harv |doi = 10.1007/3-540-48168-0_3 |citeseerx = 10.1.1.25.9250 }}
External links
2 : Computational complexity theory|Parameterized complexity |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。