Escolar Documentos
Profissional Documentos
Cultura Documentos
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Prudhvi Varma Penmetcha
December 5, 2011
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Outline
1
2
3
4
5
6
7
8
9
10
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Prudhvi Varma Penmetcha
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Bronkerbosch(R,P,X)
if { P = X = }
Report R as the Maximal Clique
for each vertex v in P
BronKerbosch(R { v },P N { v }, X N { v })
P := P \ { v }
X := X { v }
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Figure: Example 1
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
R=X= P=(1,2,3,4,5,6)
Choosing the pivot element u 0 as 4.
4 in P \ N(v) = (1, 2, 3, 4, 5, 6) \ (1, 2, 3, 5, 6) = 4 in 4
Finds the values of Pnew ,Rnew ,Snew
Pnew = P N(v), Rnew = R (v ) , Xnew = X N(v)
Rnew = 4, Pnew = (1,2,3,5,6), Xnew =
Bronkerbosch(4),(1,2,3,5,6),)
Bronkerbosch((4,1),(2,3),)
Bronkerbosch((4,1,2),,)
Report (4,1,2) as one of the Maximal Clique
Prudhvi Varma Penmetcha
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Bronkerbosch((4),(1,2,3,5,6),)
Bronkerbosch((4,3),(1), )
Bronkerbosch((4,3,1),,)
Report (4,3,1) as one of the other Maximal Clique
Bronkerbosch((4),(1,2,3,5,6),)
Bronkerbosch((4,2),(1,5),)
Bronkerbosch((4,2,5),,)
Report (4,2,5) as an other Maximal Clique
Bronkerbosch((4),(1,2,3,5,6), )
Bronkerbosch((4,6), , )
Report (4,6) as the Maximal Clique
Prudhvi Varma Penmetcha
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Figure: Graph
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Figure: Backtracking
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Figure: Backtracking
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
List out all the possibilities in the sub graph and check for
each and every edge.
Check for a sub graph in which every node is connected to
every other node.
Check for all possible Cliques in the graphs.
Check the size of clique whether it is equal to k or not.
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Clique
Introduction
History
Effective Algorithms
Introduction to Bron Kerbosch Algorithm
Without Pivoting Strategy
With Pivoting Strategy
Example
Backtracking Algorithm
Time Complexity
References
Alon, N.Boppana,
{The monotone circuit complexity of boolean functions}
http : //en.wikipedia.org /wiki/Clique problem.
http : //www .ibluemojo.com/school/clique algorithm.html
Clique