全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Certificate, verifier, class NP, nondeterministic Turing machine?

又称: verifier · certificate · class NP · nondeterministic Turing machine

Definition 16.3 University Computer Science — Year 3 · 第 16 章 — Time and Space Complexity

A verifier for a decision problem AA is an algorithm VV that takes an instance xx and a word cc, the certificate, such that xx is a yes-instance if and only if V(x,c)V(x, c) accepts for some cc. The class NP is the set of problems that have a verifier running in time polynomial in the size of xx (so only certificates of polynomial length matter). A nondeterministic Turing machine may have several transitions for the same state and symbol; it accepts when some sequence of choices leads to acceptance.

Searching against checking, for subset sum with no solution, on a logarithmic scale: from search_vs_verify.py. At n = 22 the search computes 4,194,304 sums.
Searching against checking, for subset sum with no solution, on a logarithmic scale: from search_vs_verify.py. At n=22n = 22 the search computes 4,194,304 sums.
在原文中阅读 →