In complexity theory, the class NC (for "Nick's Class") is the set of decision problems decidable in polylogarithmic time on a parallel computer with a polynomial number of processors. In other words, a problem is in NC if there exist constants c and k such that it can be solved in time O(log^{c} n) using O(n^{k}) parallel processors. Stephen Cook coined the name "Nick's class" after Nick Pippenger, who had done extensive research on circuits with polylogarithmic depth and polynomial size.
Just as the class P can be thought of as the tractable problems, so NC can be thought of as the problems that can be efficiently solved on a parallel computer. NC is a subset of P because polylogarithmic parallel computations can be simulated by polynomialtime sequential ones. It is unknown whether NC = P, but most researchers suspect this to be false, meaning that there are probably some tractable problems which are "inherently sequential" and cannot significantly be sped up by using parallelism. Just as the class NPComplete can be thought of as "probably intractable", so the class PComplete, when using NC reductions, can be thought of as "probably not parallelizable" or "probably inherently sequential".
The parallel computer in the definition can be assumed to be a parallel, randomaccess machine (PRAM). That is a parallel computer with a central pool of memory, and any processor can access any bit of memory in constant time. The definition of NC is not affected by the choice of how the PRAM handles simultaneous access to a single bit by more than one processor. It can be CRCW, CREW, or EREW. See PRAM for descriptions of those models.
Equivalently, NC can be defined as those decision problems decidable by a uniform Boolean circuit (which can be calculated from the length of the input) with polylogarithmic depth and a polynomial number of gates.
The NC Hierarchy
NC^{i} is the class of decision problems decidable by uniform boolean circuits with a polynomial number of gates and depth O(log^{i} n), or the class of decision problems solvable in time O(log^{i} n) on a parallel computer with a polynomial number of processors. Clearly, we have
which forms the NChierarchy.
We can relate the NC classes to the space classes L and NL. From Papadimitriou 1994, Theorem 16.1:
Similarly, we have that NC^{i} is equivalent to the problems solvable on an alternating Turing machine with O(logn) space and (logn)^{O(1)} alternations.^{[2]}
Open problem: Is NC proper?
One major open question in complexity theory is whether or not every containment in the NC hierarchy is proper. It was observed by Papadimitriou that, if NC^{i} = NC^{i+1} for some i, then NC^{i} = NC^{j} for all j ≥ i, and as a result, NC^{i} = NC. This observation is known as NChierarchy collapse because even a single equality in the chain of containments
Full article ▸
