Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: "Bill Cox" <bill@xxxxxxxxxxxxx>
- Date: 23 Sep 2006 00:54:12 -0700
You're confusing random inputs with random algorithms.
On random input graphs (under a suitable distribution) graph isomorphism
is polynomially solvable (even with just a degree-sequence... i.e.
counting up the degrees of all vertices is almost always enough to test
isomorphism.)
Note that testing degree sequences is a deterministic algorithm.
The class RP deals with random algorithms or probabilistic algorithms,
which is a totally different thing.
J
I see. The problem here is the algorithm relies on a hash function,
and all hash functions (like SHA-1) which output less data than is
input are not collision free. Under the assumption that we do not
repeatedly find hash-collisions again and again (which, of course, we
wouldn't with a good hash), then the algorithm could be in P (which it
probably isn't). I'm not sure what to call such an almost-P class.
The degree-sequence solution you described for random graphs has this
problem even worse. While realistically the graphs wont match if large
enough, the possibility still exists, which would cause the algorithm
to fail, thus making it technically not in P (or any class I read
about). In the case that I run into a hash-collision, I can detect
that the reported isomorphism is wrong, and just try again with
different hashing, so rather than failing, it just takes 2X longer.
I think this reliance on a hash-function is a minor thing. It makes it
difficult to describe the complexity class, but in real computational
terms, it's still O(N^3). For now, I'll just call it almost-P.
I think the harder question is whether it is possible to have
non-isomorphic graphs that will always be reported as isomorphic by
this algorithm, sort of a graph-collision, regardless of the hash
function used.
.
- References:
- (Probably flawed) Polynomial time Graph Isomorphism
- From: Bill Cox
- Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: Patricia Shanahan
- Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: Bill Cox
- Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: Patricia Shanahan
- Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: Bill Cox
- Re: (Probably flawed) Polynomial time Graph Isomorphism
- From: Jim Nastos
- (Probably flawed) Polynomial time Graph Isomorphism
- Prev by Date: Re: (Probably flawed) Polynomial time Graph Isomorphism
- Next by Date: Re: (Probably flawed) Polynomial time Graph Isomorphism
- Previous by thread: Re: (Probably flawed) Polynomial time Graph Isomorphism
- Next by thread: Re: (Probably flawed) Polynomial time Graph Isomorphism
- Index(es):
Relevant Pages
|