# All Science Fair Projects

## Science Fair Project Encyclopedia for Schools!

 Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary

# Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

# Fixed-parameter algorithm

In computer science, fixed-parameter algorithms are an approach to attacking NP-hard problems. When trying to solve these problems exactly and deterministically, one has to deal with exponential running times; computational complexity theory indicates this is inevitable. Parameterized complexity theory accepts these exponential running times, but claims that not all "intractable" algorithms are equal, and some might even be feasible for practical applications.

The main idea is to consider parameters. Many problems have the following general form: given an object x and a nonnegative integer k, does x have some property that depends on 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 interesting to see whether we can find an algorithm which is exponential only in 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 $L \subseteq \Sigma^* \times \N$, where Σ is a finite alphabet. The second component is called the parameter of the problem.
A parameterized problem L is fixed-parameter tractable if the question “$(x, k) \in L$?” can be decided in running time $f(k) \cdot |x|^{O(1)}$, where f is an arbitrary function depending only on k. The corresponding complexity class is called FPT.

For example there is an algorithm which solves the vertex cover problem in O(kn + 1.29k) time, where n is the number of vertices and k the size of the vertex cover. This proves that vertex cover is fixed-parameter tractable with respect to this parameter.

03-10-2013 05:06:04