views:

2869

answers:

7

Can anyone tell me, where on the web I can find an explanation for Bron-Kerbosch algorithm for clique finding or explain here how it works?

I know it was published in "Algorithm 457: finding all cliques of an undirected graph" book, but I can't find free source that will describe the algorithm.

I don't need a source code for the algorithm, I need an explanation of how it works.

A: 

I saw this presentation, however I couldn't understand how the algorithm works from it. It's too simplified. At least for someone like me, who never saw this algorithm before.

I was hoping may be someone have more extensive explanation.

Alex Reitbort
should be a comment on the answer you are talking about
spoon16
+1  A: 

Try finding someone with an ACM student account who can give you a copy of the paper, which is here: http://portal.acm.org/citation.cfm?doid=362342.362367

I just downloaded it, and it's only two pages long, with an implementation in Algol 60!

HenryR
can you please send it to me at [email protected] ?
Alex Reitbort
A: 

For what it is worth, I found a Java implementation: http://joelib.cvs.sourceforge.net/joelib/joelib2/src/joelib2/algo/clique/BronKerbosch.java?view=markup

HTH.

PhiLho
I found 2 java implementations and one C implementation. May be it works, but I also need an understanding of how does it work, and source code doesn't have a lot of comments about how does it works.
Alex Reitbort
A: 

There is the algorithm right here I have rewritten it using Java linkedlists as the sets R,P,X and it works like a charm (o good thing is to use the function "retainAll" when doing set operations according to the algorithm).

I suggest you think a little about the implementation because of the optimization issues when rewriting the algorithm

A: 

here is python implementation http://kuchaev.com/fun%5Fproblems/?p=17

Alex
A: 

The python implementation is here Bron-Kerbosh in Python

Alex
A: 

i find the explanation of the algorithm here: http://www.dfki.de/~neumann/ie-seminar/presentations/finding_cliques.pdf it's a good explanation... but i need a library or implementation in C# -.-'

dani