Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson <fakeaddress@xxxxxxxxxxx>
- Date: Thu, 30 Nov 2006 09:03:58 GMT
Radoslaw Hofman wrote:
Uzytkownik "Bryan Olson" <fakeaddress@xxxxxxxxxxx> napisal w wiadomosci news:inhbh.1220$Py2.445@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxIf we think about language as "set of strings" then mine question is - are there possible simillar strings in Q1 and Q2?I don't know what your term "simillar" means here.
"Similar" mean that two encoded strings (one from Q1 and second from Q2) are equal - undistinguishable.
"Equal" I understand. So the answer your question, we look at my
definitions of Q1 and Q2:
Language Q1 is the
set of strings that begin with a '1', followed by a Turing
Machine that halts on empty input. Language Q2 is the set of
strings that are either
a '1' not followed by a TM that halts on empty input,
or
a '0' followed by a graph with a Hamiltonian cycle.
I'm assuming reasonable encodings are a given. The union of
Q1 and Q1 is NP-Complete. Q1 and Q2 are both non-empty, and
neither is NP-Complete because neither is even in NP.
So no string is in both Q1 and Q2.
If yes then, and correct answer associated with this stings are different then you cannot say that Q is union of Q1 and Q2 without some merge done.
The set of strings Q is *defined* as the union of Q1 and Q2.
Suppose that 1ABABABABAe is correct string in Q1 and 1ABABABABAe is correct in Q2
That can't happen "1ABABABABAe" is in exactly one of Q1, Q2. Since
"ABABABABAe" doesn't look like a Turing machine at all, it's Q2.
- what is it in Q?
"1ABABABABAe" is definitely a member of Q.
Or even more interesting:
Q1:
if first symbol eq '0' return NO
Q2:
if first symbol eq '0' return answer for HCP
Languages are sets of strings; they don't really "return" anything.
Well... How do you imagine "union" of this languages? It is not a union... Union means that every string from each set is also in union and we expect that ANSWER asociated with string is the same.
The union doesn't associate an answer with a string; a machine
that decides some language does. The answer is to the question
of whether the given string is in the language the machine decides.
Note the trick of my example: deciding Q means determining if any
given string is in either Q1 and Q2, but we do not have to
determine which of Q1 or Q2 it's in.
First, please precise describe what Q IS
See the definitions above.
and if it gives the same answers for the same question as Q1 and Q2.
Using your reasonong why Q is NP-complete we can easily show that Q2 is also NP-complete:
- it can check certificate in polynomial time
No you can't. When the first symbol is '1', it can be followed by
any Turing machine. You'd have to solve the halting problem.
The difference what you have here and my reasoning, is that
mine requires poly-time certificates for the Hamiltonian-cycle
problem, not the halting problem.
- any NP problem can be reduced to it
Why Q2 in your worlds is not in NP?
Because the halting problem is undecidable.
--
--Bryan
.
- Follow-Ups:
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- References:
- Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson
- Re: Discussion about transformation TSP to UniqueTSP
- From: deepakc
- Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson
- Re: Discussion about transformation TSP to UniqueTSP
- From: deepakc
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- From: deepakc
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- From: Bryan Olson
- Re: Discussion about transformation TSP to UniqueTSP
- From: Radoslaw Hofman
- Re: Discussion about transformation TSP to UniqueTSP
- Prev by Date: Re: Discussion about transformation TSP to UniqueTSP
- Next by Date: Re: Discussion about transformation TSP to UniqueTSP
- Previous by thread: Re: Discussion about transformation TSP to UniqueTSP
- Next by thread: Re: Discussion about transformation TSP to UniqueTSP
- Index(es):
Relevant Pages
|