Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Class L, class NL, log-space reduction?

Dikenal juga sebagai: class L · class NL · log-space reduction

Definition 16.9 University Computer Science — Year 3 · Bab 16 — Time and Space Complexity

The class L is SPACE(log⁡n)\mathrm{SPACE}(\log n): a deterministic machine with a read-only input and a work tape of O(log⁡n)O(\log n) cells, enough for a constant number of counters and pointers into the input. The class NL is the same for nondeterministic machines. A log-space reduction is a many-one reduction computed by such a machine with a write-only output tape.

L ⊂eq NL ⊂eq P ⊂eq NP ⊂eq PSPACE ⊂eq EXP. The hierarchy theorems make NL PSPACE and P EXP; every other inclusion drawn might be an equality.
L⊆NL⊆P⊆NP⊆PSPACE⊆EXP\mathrm{L} \subseteq \mathrm{NL} \subseteq \mathrm{P} \subseteq \mathrm{NP} \subseteq \mathrm{PSPACE} \subseteq \mathrm{EXP}. The hierarchy theorems make NL≠PSPACE\mathrm{NL} \ne \mathrm{PSPACE} and P≠EXP\mathrm{P} \ne \mathrm{EXP}; every other inclusion drawn might be an equality.
Baca dalam konteks →