Re: Need Graph Isomorphism Algorithm De-bunked
- From: Mike Amling <nospam@xxxxxxxxxx>
- Date: 25 Sep 2006 16:47:58 EDT
fgrieu wrote:
Bill Cox asked:>Somebody, please, show me two graphs which are hard
to compare!
At the end of this message are three 25-vertices graphs
that will give a hard time to the algorithm now at
http://www.billrocks.org/ideas/
This is a variation of my earlier counterexample:
one ring of 24 vertices for A, 2 independent rings of
12 vertices for B, both with an extra vertex connected
to all the others. C is a shuffle of B.
The problem exhibited is really only about the "2*D"
number of iterations, which I (now) think is insufficient.
My counterexample graphs have D=2. Yet with 4 steps in
the outer loop of the "hash iteration", the hashes for
all but one node are equal, and the hashes are the same
in all three graphs. The hashes are thus not enough to
recognize A from B, or to reorder B and C into a canonical
graph.
> I have no counterexample to the lazy version of the algorithm,
> where we loop N times rather 2*D. I have no conjecture on
> a minimum, but my counterexample implies it is at least
> in the order of N/4.
I take it that D is Diameter, defined as
maximum over i,j of (length of shortest path between node i and node j).
We could call that the Inner Diameter and also define an Outer Diameter as
maximum over i,j of (length of any path between node i and node j in which no node appears twice).
You've shown 2*ID iterations are not always sufficient. Are OD or OD+1 iterations sufficient?
I'm sure there are efficient algorithms for determining ID, but I don't know about OD. Of course, if one does go to the trouble of determining OD for each of two graphs, and gets different values, then the graphs are immediately non-isomorphic.
--Mike Amling
.
- References:
- Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Francois Grieu
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: fgrieu
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Mike Amling
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Mike Amling
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: Bill Cox
- Re: Need Graph Isomorphism Algorithm De-bunked
- From: fgrieu
- Need Graph Isomorphism Algorithm De-bunked
- Prev by Date: Re: A question on indistinguishabilty definition
- Next by Date: Re: Diffie-Hellman groups
- Previous by thread: Re: Need Graph Isomorphism Algorithm De-bunked
- Next by thread: Re: Need Graph Isomorphism Algorithm De-bunked
- Index(es):
Relevant Pages
|