Redian新闻
>
Re: what is NP-hard problem, esp in Commu?Re: NP-hard problem.
avatar
Re: what is NP-hard problem, esp in Commu?Re: NP-hard problem.# EE - 电子工程
r*r
1
polynomial time means anything like n^k, where n in the input size of the
problem and k is a CONSTANT. So for example, if algorithms run in
O(n^2), O(n^100), O(n^100000), they are all polynomial time algorithms.
Exponential time, like 2^n is not a polynomial time, and anything bigger
than polynomial time is not practical in reality (actually when k > 3,
polynomail time algorithms isnot very useful already).
P is set of problems (not algorithms) that can be solved (rigous word is
decided) in poly
avatar
r*r
2
Currently the biggest problem of computer science is: if N=NP or if N is a
proper subset of NP.
Give you an example which is not a NP problem.
{: program never terminate} and {: this guy will never die}.
Even you know the solution, you cannot vertify (confirm) it in polynomial
time.

【在 r********r 的大作中提到】
: polynomial time means anything like n^k, where n in the input size of the
: problem and k is a CONSTANT. So for example, if algorithms run in
: O(n^2), O(n^100), O(n^100000), they are all polynomial time algorithms.
: Exponential time, like 2^n is not a polynomial time, and anything bigger
: than polynomial time is not practical in reality (actually when k > 3,
: polynomail time algorithms isnot very useful already).
: P is set of problems (not algorithms) that can be solved (rigous word is
: decided) in poly

avatar
c*g
3
Good Terminologies. let me explain them more clearly..
NP-Problem
A problem is assigned to the NP (nondeterministic Polynomial time) class if it
is solvable in polynomial time by a nondeterministic Turing Machine. (A
nondeterministic Turing Machine is a ``parallel'' Turing Machine which can
take many computational paths simultaneously, with the restriction that the
parallel Turing machines cannot communicate.) A P-Problem (whose solution time
is bounded by a polynomial) is always also NP. If a s

【在 r********r 的大作中提到】
: Currently the biggest problem of computer science is: if N=NP or if N is a
: proper subset of NP.
: Give you an example which is not a NP problem.
: {: program never terminate} and {: this guy will never die}.
: Even you know the solution, you cannot vertify (confirm) it in polynomial
: time.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。