I actually started to read complexity classes of problems. and I know that NP class include P class problems and even more problems call NP-complete ...
as many books define NP class as well But I still dont understand what is the clear definition of NP problems...
According to these books (here I mean Sipser chapter 7 complexity https://www.u-cursos.cl/usuario/777719ab2ddbbdb16d99df29431d3036/mi_blog/r/Introduction_to_the_Theory_of_Computation_by_Michael_Sipser_Third_Edition_Course_Technology.pdf )
NP problems are such problems that algorithms that found for them are nondeterministic or in one other definition these problem have at least one verifier that verifies some nondeterministic answer in polynomial time.
My question is specialy about first definition:
"NP (nondeterministic polynomial time) class if it is solvable in polynomial time by a nondeterministic Turing machine."
which is highly related to nondeterministic algorithms.
How could them find an answer if it really is in an accepted algorithm I mean if a string is accepted in that algorithm it is absolutly one of the problem answer but if the algorithm guess wrong that doesn't mean the string doesn't lead to accept.
how could we fix that error ?? What is the point of nondeterministic algorithm if its not says the truth??
Thanks in advance
– Niloo Jun 10 '16 at 05:11